9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

wctype.h (815B)


      1 #ifndef _WCTYPE_H
      2 #define _WCTYPE_H
      3 
      4 /* TODO: This is only a placeholder */
      5 typedef int wint_t;
      6 typedef int wctrans_t;
      7 typedef int wctype_t;
      8 
      9 #define WEOF -1
     10 
     11 extern int iswalnum(wint_t wc);
     12 extern int iswalpha(wint_t wc);
     13 extern int iswblank(wint_t wc);
     14 extern int iswcntrl(wint_t wc);
     15 extern int iswdigit(wint_t wc);
     16 extern int iswgraph(wint_t wc);
     17 extern int iswlower(wint_t wc);
     18 extern int iswprint(wint_t wc);
     19 extern int iswpunct(wint_t wc);
     20 extern int iswspace(wint_t wc);
     21 extern int iswupper(wint_t wc);
     22 extern int iswxdigit(wint_t wc);
     23 extern int iswctype(wint_t wc, wctype_t desc);
     24 extern wctype_t wctype(const char *property);
     25 extern wint_t towlower(wint_t wc);
     26 extern wint_t towupper(wint_t wc);
     27 extern wint_t towctrans(wint_t wc, wctrans_t desc);
     28 extern wctrans_t wctrans(const char *property);
     29 
     30 #endif