From 18a3d3bb7c613dc050fa9a140ddbc86aae98a26a Mon Sep 17 00:00:00 2001 From: espie <> Date: Sat, 30 Apr 2005 09:14:23 +0000 Subject: [PATCH] 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. --- src/include/wctype.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/include/wctype.h b/src/include/wctype.h index 248fdf36..50ff0f45 100644 --- a/src/include/wctype.h +++ b/src/include/wctype.h @@ -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_ */