summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-04-30 09:14:24 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-04-30 09:14:24 +0000
commit86c423fca9e4df63c5cfd487e548f449d681361f (patch)
treed22554d836dc3686f5037b405446ba836e40ade2 /include
parent935fa89286b968b8719b409c33faeb7b78e8219e (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wctype.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/include/wctype.h b/include/wctype.h
index 248fdf366af..50ff0f45949 100644
--- a/include/wctype.h
+++ b/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_ */