source: azure_iot_hub/trunk/musl-1.1.18/src/ctype/iswpunct.c@ 388

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

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-csrc
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.