Browse Source

isw* classification functions from citrus, with a `stub' implementation

for the default locale.
comments, tests, okay: kettenis@, otto@, jmc@
functions addition -> Minor bump.
There's a large bump coming in a separate commit.
OPENBSD_3_8
espie 19 years ago
parent
commit
18a3d3bb7c
1 changed files with 18 additions and 1 deletions
  1. +18
    -1
      src/include/wctype.h

+ 18
- 1
src/include/wctype.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: wctype.h,v 1.1 2005/04/14 20:59:10 espie Exp $ */
/* $OpenBSD: wctype.h,v 1.2 2005/04/30 09:14:23 espie Exp $ */
/* $NetBSD: wctype.h,v 1.5 2003/03/02 22:18:11 tshiozak Exp $ */
/*-
@ -54,4 +54,21 @@ typedef _BSD_WCTYPE_T_ wctype_t;
#define WEOF ((wint_t)-1)
#endif
__BEGIN_DECLS
int iswalnum(wint_t);
int iswalpha(wint_t);
int iswblank(wint_t);
int iswcntrl(wint_t);
int iswdigit(wint_t);
int iswgraph(wint_t);
int iswlower(wint_t);
int iswprint(wint_t);
int iswpunct(wint_t);
int iswspace(wint_t);
int iswupper(wint_t);
int iswxdigit(wint_t);
wint_t towlower(wint_t);
wint_t towupper(wint_t);
__END_DECLS
#endif /* _WCTYPE_H_ */

Loading…
Cancel
Save