| Index: fusl/src/ctype/iswpunct.c
|
| diff --git a/fusl/src/ctype/iswpunct.c b/fusl/src/ctype/iswpunct.c
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d88010463c9f8d481c2d55e0d25b8d0898a608b4
|
| --- /dev/null
|
| +++ b/fusl/src/ctype/iswpunct.c
|
| @@ -0,0 +1,20 @@
|
| +#include <wctype.h>
|
| +#include "libc.h"
|
| +
|
| +static const 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;
|
| +}
|
| +
|
| +int __iswpunct_l(wint_t c, locale_t l)
|
| +{
|
| + return iswpunct(c);
|
| +}
|
| +
|
| +weak_alias(__iswpunct_l, iswpunct_l);
|
|
|