diff options
author | ache <ache@FreeBSD.org> | 2001-11-29 15:23:46 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-11-29 15:23:46 +0000 |
commit | b5eb75e20ed90732b313992a0911e593849d550a (patch) | |
tree | 9c5eb1f90dc6906d7821b01dffba80809ad7992c | |
parent | 844abb905ae6490291022ed37ed5a38dd963c8f9 (diff) | |
download | FreeBSD-src-b5eb75e20ed90732b313992a0911e593849d550a.zip FreeBSD-src-b5eb75e20ed90732b313992a0911e593849d550a.tar.gz |
Clarify that is[x]digit() class is the same in any locale
-rw-r--r-- | lib/libc/locale/isdigit.3 | 15 | ||||
-rw-r--r-- | lib/libc/locale/isxdigit.3 | 20 |
2 files changed, 18 insertions, 17 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 diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3 index bf88255..5f5ee52 100644 --- a/lib/libc/locale/isxdigit.3 +++ b/lib/libc/locale/isxdigit.3 @@ -52,6 +52,16 @@ The .Fn isxdigit function tests for any hexadecimal-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''" +.It "\&``A''\t``B''\t``C''\t``D''\t``E''" +.It "\&``F''\t``a''\t``b''\t``c''\t``d''" +.It "\&``e''\t``f''" +.El +.Pp For single C .Va char Ns s locales (see @@ -61,16 +71,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''" -.It "\&101\ ``A'' \t102\ ``B'' \t103\ ``C'' \t104\ ``D'' \t105\ ``E''" -.It "\&106\ ``F'' \t141\ ``a'' \t142\ ``b'' \t143\ ``c'' \t144\ ``d''" -.It "\&145\ ``e'' \t146\ ``f''" -.El .Sh RETURN VALUES The .Fn isxdigit |