diff options
Diffstat (limited to 'lib/libc/locale/isdigit.3')
-rw-r--r-- | lib/libc/locale/isdigit.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3 index 5d34e0c..bb7dd72 100644 --- a/lib/libc/locale/isdigit.3 +++ b/lib/libc/locale/isdigit.3 @@ -36,7 +36,7 @@ .\" @(#)isdigit.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd June 4, 1993 +.Dd October 6, 2002 .Dt ISDIGIT 3 .Os .Sh NAME @@ -76,8 +76,20 @@ The .Fn isdigit function returns zero if the character tests false and returns non-zero if the character tests true. +.Sh COMPATIBILITY +Although +.Fn isdigit +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 iswdigit +function should be used instead for maximum portability. .Sh SEE ALSO .Xr ctype 3 , +.Xr iswdigit 3 , .Xr multibyte 3 , .Xr ascii 7 .Sh STANDARDS |