2002-09-20 Jeff Johnston <jjohnstn@redhat.com>

* libc/include/wctype.h: New file.
This commit is contained in:
Jeff Johnston 2002-09-20 21:56:13 +00:00
parent 4ca88d4714
commit 1e0e64c9d8
2 changed files with 47 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wctype.h: New file.
2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/ctype/Makefile.am: Add new files.

View File

@ -0,0 +1,43 @@
#ifndef _WCTYPE_H_
#define _WCTYPE_H_
#include <_ansi.h>
#include <sys/_types.h>
#define __need_wint_t
#include <stddef.h>
#ifndef WEOF
# define WEOF ((wint_t)-1)
#endif
#ifndef _WCTYPE_T
#define _WCTYPE_T
typedef int wctype_t;
#endif
#ifndef _WCTRANS_T
#define _WCTRANS_T
typedef int wctrans_t;
#endif
int _EXFUN(iswalpha, (wint_t));
int _EXFUN(iswalnum, (wint_t));
int _EXFUN(iswblank, (wint_t));
int _EXFUN(iswcntrl, (wint_t));
int _EXFUN(iswctype, (wint_t, wctype_t));
int _EXFUN(iswdigit, (wint_t));
int _EXFUN(iswgraph, (wint_t));
int _EXFUN(iswlower, (wint_t));
int _EXFUN(iswprint, (wint_t));
int _EXFUN(iswpunct, (wint_t));
int _EXFUN(iswspace, (wint_t));
int _EXFUN(iswupper, (wint_t));
int _EXFUN(iswxdigit, (wint_t));
wint_t _EXFUN(towctrans, (wint_t, wctrans_t));
wint_t _EXFUN(towupper, (wint_t));
wint_t _EXFUN(towlower, (wint_t));
wctrans_t _EXFUN(wctrans, (const char *));
wctype_t _EXFUN(wctype, (const char *));
#endif /* _WCTYPE_H_ */