diff options
author | 2011-04-29 11:24:24 +0000 | |
---|---|---|
committer | 2011-04-29 11:24:24 +0000 | |
commit | 3c958141693e36e347fcd8193a4351287a459620 (patch) | |
tree | 696ed9e827ce85c8f0f680f4c9c626a1433175e6 /lib/libc | |
parent | -x is currently unimplemented, so comment it out from the man page, and remove (diff) | |
download | wireguard-openbsd-3c958141693e36e347fcd8193a4351287a459620.tar.xz wireguard-openbsd-3c958141693e36e347fcd8193a4351287a459620.zip |
Add BUGS section explaining that these functions do not cover the entire
Unicode character set in a UTF-8 locale and can therefore return wrong answers.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/locale/iswalnum.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/locale/iswalnum.3 b/lib/libc/locale/iswalnum.3 index 4a0eae2cf85..572cf38b48b 100644 --- a/lib/libc/locale/iswalnum.3 +++ b/lib/libc/locale/iswalnum.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iswalnum.3,v 1.3 2010/09/10 18:38:19 jmc Exp $ +.\" $OpenBSD: iswalnum.3,v 1.4 2011/04/29 11:24:24 stsp Exp $ .\" $NetBSD: iswalnum.3,v 1.8 2003/09/08 17:54:31 wiz Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. @@ -34,7 +34,7 @@ .\" .\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91 .\" -.Dd $Mdocdate: September 10 2010 $ +.Dd $Mdocdate: April 29 2011 $ .Dt ISWALNUM 3 .Os .Sh NAME @@ -115,3 +115,6 @@ The argument to these functions must be or a valid .Fa wchar_t value with the current locale; otherwise, the result is undefined. +.Sh BUGS +In a UTF-8 locale these functions return wrong answers for some characters +because they do not cover the entire Unicode character set. |