diff options
author | theraven <theraven@FreeBSD.org> | 2012-03-13 20:02:41 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2012-03-13 20:02:41 +0000 |
commit | 984b6cc8df18c9b3bd311580bd509167e1c531cf (patch) | |
tree | 69a75194f34387281521715537bed87eead85720 /lib/libc/locale/isdigit.3 | |
parent | b17841f4d2ac6e5e7fa3a9ffadbdb8c97acd19e8 (diff) | |
download | FreeBSD-src-984b6cc8df18c9b3bd311580bd509167e1c531cf.zip FreeBSD-src-984b6cc8df18c9b3bd311580bd509167e1c531cf.tar.gz |
First set of xlocale man pages. More to follow...
Approved by: dim (mentor)
Diffstat (limited to 'lib/libc/locale/isdigit.3')
-rw-r--r-- | lib/libc/locale/isdigit.3 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3 index 53b1986..961d7e1 100644 --- a/lib/libc/locale/isdigit.3 +++ b/lib/libc/locale/isdigit.3 @@ -46,6 +46,10 @@ .Fn isdigit "int c" .Ft int .Fn isnumber "int c" +.Ft int +.Fn isdigit_l "int c" "locale_t loc" +.Ft int +.Fn isnumber_l "int c" "locale_t loc" .Sh DESCRIPTION The .Fn isdigit @@ -68,6 +72,9 @@ The value of the argument must be representable as an .Vt "unsigned char" or the value of .Dv EOF . +.Pp +The _l-suffixed versions take an explicit locale argument, whereas the +non-suffixed versions use the current global or per-thread locale. .Sh RETURN VALUES The .Fn isdigit @@ -89,12 +96,17 @@ function should be used instead. .Xr ctype 3 , .Xr iswdigit 3 , .Xr multibyte 3 , +.Xr xlocale 3 , .Xr ascii 7 .Sh STANDARDS The .Fn isdigit function conforms to .St -isoC . +The +.Fn isdigit_l +function conforms to +.St -p1003.1-2008 . .Sh HISTORY The .Fn isnumber |