summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/isalpha.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/isalpha.3')
-rw-r--r--lib/libc/locale/isalpha.313
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3
index 689b6cd..4e4dfb5 100644
--- a/lib/libc/locale/isalpha.3
+++ b/lib/libc/locale/isalpha.3
@@ -44,6 +44,8 @@
.In ctype.h
.Ft int
.Fn isalpha "int c"
+.Ft int
+.Fn isalpha_l "int c" "locale_t loc"
.Sh DESCRIPTION
The
.Fn isalpha
@@ -72,6 +74,11 @@ 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
+The
+.Fn isalpha_l
+function takes an explicit locale argument, whereas the
+.Fn isalpha
+function uses the current global or per-thread locale.
.Sh RETURN VALUES
The
.Fn isalpha
@@ -92,9 +99,15 @@ function should be used instead.
.Xr islower 3 ,
.Xr isupper 3 ,
.Xr iswalpha 3 ,
+.Xr xlocale 3 ,
.Xr ascii 7
.Sh STANDARDS
The
.Fn isalpha
function conforms to
.St -isoC .
+The
+.Fn isalpha_l
+function conforms to
+.St -p1003.1-2008 .
+
OpenPOWER on IntegriCloud