aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/locale/isalnum.3
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-03-13 20:02:41 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-03-13 20:02:41 +0000
commitc889dd01b9ada00728601de06e8b087a8c751cbb (patch)
tree69a75194f34387281521715537bed87eead85720 /lib/libc/locale/isalnum.3
parent9c5cee130f71b2bb6197043c234a62ea258d3149 (diff)
downloadsrc-c889dd01b9ada00728601de06e8b087a8c751cbb.tar.gz
src-c889dd01b9ada00728601de06e8b087a8c751cbb.zip
First set of xlocale man pages. More to follow...
Approved by: dim (mentor)
Notes
Notes: svn path=/head/; revision=232935
Diffstat (limited to 'lib/libc/locale/isalnum.3')
-rw-r--r--lib/libc/locale/isalnum.313
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index 038c5cf413c3..c9042b5dee98 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -44,6 +44,8 @@
.In ctype.h
.Ft int
.Fn isalnum "int c"
+.Ft int
+.Fn isalnum_l "int c" "locale_t loc"
.Sh DESCRIPTION
The
.Fn isalnum
@@ -74,6 +76,12 @@ In the ASCII character set, this includes the following characters
.It "\&164\ ``t'' \t165\ ``u'' \t166\ ``v'' \t167\ ``w'' \t170\ ``x''"
.It "\&171\ ``y'' \t172\ ``z''"
.El
+.Pp
+The
+.Fn isalnum_l
+function takes an explicit locale argument, whereas the
+.Fn isalnum
+function uses the current global or per-thread locale.
.Sh RETURN VALUES
The
.Fn isalnum
@@ -94,9 +102,14 @@ function should be used instead.
.Xr isalpha 3 ,
.Xr isdigit 3 ,
.Xr iswalnum 3 ,
+.Xr xlocale 3 ,
.Xr ascii 7
.Sh STANDARDS
The
.Fn isalnum
function conforms to
.St -isoC .
+The
+.Fn isalnum_l
+function conforms to
+.St -p1003.1-2008 .