summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-05-28 15:16:47 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-05-28 15:16:47 +0000
commit98cf229b804e7b609e51e82a3e3121ee4b80beeb (patch)
treecf68eef0a761a7f998a2290c4ebba43bb9a91480 /include/wchar.h
parent26b660a3fb3682b143b48b141e77cc51b9101c36 (diff)
wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index ee9d528fde0..af8412dae58 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wchar.h,v 1.15 2011/04/28 17:38:46 stsp Exp $ */
+/* $OpenBSD: wchar.h,v 1.16 2011/05/28 15:16:46 espie Exp $ */
/* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */
/*-
@@ -145,6 +145,11 @@ long int wcstol(const wchar_t * __restrict, wchar_t ** __restrict, int base);
unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict,
int base);
+#if __POSIX_C_SOURCE >= 200809L
+int wcscasecmp(const wchar_t *, const wchar_t *);
+int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);
+#endif
+
#if __ISO_C_VISIBLE >= 1999
float wcstof(const wchar_t * __restrict, wchar_t ** __restrict);
long double wcstold(const wchar_t * __restrict, wchar_t ** __restrict);