Last change
on this file since 444 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
321 bytes
|
Rev | Line | |
---|
[444] | 1 | #include <wctype.h>
|
---|
| 2 | #include "libc.h"
|
---|
| 3 |
|
---|
| 4 | static const unsigned char table[] = {
|
---|
| 5 | #include "punct.h"
|
---|
| 6 | };
|
---|
| 7 |
|
---|
| 8 | int iswpunct(wint_t wc)
|
---|
| 9 | {
|
---|
| 10 | if (wc<0x20000U)
|
---|
| 11 | return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
|
---|
| 12 | return 0;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | int __iswpunct_l(wint_t c, locale_t l)
|
---|
| 16 | {
|
---|
| 17 | return iswpunct(c);
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | weak_alias(__iswpunct_l, iswpunct_l);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.