blob: a829745244f6f95703995645727fcc01fde69b32 (
plain) (
tree)
|
|
#include <wctype.h>
static unsigned char table[] = {
#include "punct.h"
};
int iswpunct(wint_t wc)
{
if (wc<0x20000U)
return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
return 0;
}
|