source: asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/ctype/iswpunct.c@ 337

Last change on this file since 337 was 337, checked in by coas-nagasima, 6 years ago

ASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 321 bytes
Line 
1#include <wctype.h>
2#include "libc.h"
3
4static const unsigned char table[] = {
5#include "punct.h"
6};
7
8int 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
15int __iswpunct_l(wint_t c, locale_t l)
16{
17 return iswpunct(c);
18}
19
20weak_alias(__iswpunct_l, iswpunct_l);
Note: See TracBrowser for help on using the repository browser.