aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/isalnum.3
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-10-06 10:15:38 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-10-06 10:15:38 +0000
commitd9e5246b17769adb460515d3ac43c07f6996772c (patch)
tree623a3f575bc53e37e40c586ebc8d724484f7ada3 /lib/libc/locale/isalnum.3
parentf1433817e4d3ab79164136292e9ce71191dc49f0 (diff)
downloadsrc-d9e5246b17769adb460515d3ac43c07f6996772c.tar.gz
src-d9e5246b17769adb460515d3ac43c07f6996772c.zip
Add a note to the Compatiblity section suggesting that these functions
only be used for byte values. Add cross-references to the wide-char counterparts.
Notes
Notes: svn path=/head/; revision=104562
Diffstat (limited to 'lib/libc/locale/isalnum.3')
-rw-r--r--lib/libc/locale/isalnum.314
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index 7e460d4e37be..5cc0f8c43282 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -36,7 +36,7 @@
.\" @(#)isalnum.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd October 6, 2002
.Dt ISALNUM 3
.Os
.Sh NAME
@@ -88,10 +88,22 @@ The
.Fn isalnum
function returns zero if the character tests false and
returns non-zero if the character tests true.
+.Sh COMPATIBILITY
+Although
+.Fn isalnum
+accepts arguments outside of the range of the
+.Vt "unsigned char"
+type in locales with large character sets,
+this is a
+.Bx 4.4
+extension and the
+.Fn iswalnum
+function should be used instead for maximum portability.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr isalpha 3 ,
.Xr isdigit 3 ,
+.Xr iswalnum 3 ,
.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS