summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/isdigit.3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-11-29 15:23:46 +0000
committerache <ache@FreeBSD.org>2001-11-29 15:23:46 +0000
commitb5eb75e20ed90732b313992a0911e593849d550a (patch)
tree9c5eb1f90dc6906d7821b01dffba80809ad7992c /lib/libc/locale/isdigit.3
parent844abb905ae6490291022ed37ed5a38dd963c8f9 (diff)
downloadFreeBSD-src-b5eb75e20ed90732b313992a0911e593849d550a.zip
FreeBSD-src-b5eb75e20ed90732b313992a0911e593849d550a.tar.gz
Clarify that is[x]digit() class is the same in any locale
Diffstat (limited to 'lib/libc/locale/isdigit.3')
-rw-r--r--lib/libc/locale/isdigit.315
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3
index 2cabd4d..3ffc4fa 100644
--- a/lib/libc/locale/isdigit.3
+++ b/lib/libc/locale/isdigit.3
@@ -52,6 +52,14 @@
The
.Fn isdigit
function tests for any decimal-digit character.
+For any locale,
+this includes the following characters only:
+.Pp
+.Bl -column \&``0''______ \&``0''______ \&``0''______ \&``0''______ \&``0''______
+.It "\&``0''\t``1''\t``2''\t``3''\t``4''"
+.It "\&``5''\t``6''\t``7''\t``8''\t``9''"
+.El
+.Pp
For single C
.Va char Ns s
locales (see
@@ -61,13 +69,6 @@ representable as an
.Li unsigned char
or the value of
.Dv EOF .
-In the ASCII character set, this includes the following characters
-(with their numeric values shown in octal):
-.Pp
-.Bl -column \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__ \&000_``0''__
-.It "\&060\ ``0'' \t061\ ``1'' \t062\ ``2'' \t063\ ``3'' \t064\ ``4''"
-.It "\&065\ ``5'' \t066\ ``6'' \t067\ ``7'' \t070\ ``8'' \t071\ ``9''"
-.El
.Sh RETURN VALUES
The
.Fn isdigit
OpenPOWER on IntegriCloud