diff options
author | ache <ache@FreeBSD.org> | 2001-11-30 02:01:32 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-11-30 02:01:32 +0000 |
commit | cf42fb123c0cd9f412eed7a3b79e5c348e324df4 (patch) | |
tree | 9d9ccb3f7b2b89d232e7a8ff24b68d94043c8c39 | |
parent | 674e803e5cdccad9f097e1e8292c0da297d1ba6e (diff) | |
download | FreeBSD-src-cf42fb123c0cd9f412eed7a3b79e5c348e324df4.zip FreeBSD-src-cf42fb123c0cd9f412eed7a3b79e5c348e324df4.tar.gz |
Clarify valid isspace() range
-rw-r--r-- | lib/libc/locale/isspace.3 | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3 index 538cf3c..a6cc219 100644 --- a/lib/libc/locale/isspace.3 +++ b/lib/libc/locale/isspace.3 @@ -51,7 +51,16 @@ .Sh DESCRIPTION The .Fn isspace -function tests for the standard white-space characters. +function tests for the white-space characters. +For any locale, this includes the following standard characters: +.Pp +.Bl -column \&`\et''___ \&``\et''___ \&``\et''___ \&``\et''___ \&``\et''___ \&``\et''___ +.It "\&``\et''\t``\en''\t``\ev''\t``\ef''\t``\er''\t`` ''" +.El +.Pp +In the "C" locale +.Fn isspace +successful test is limited to this characters only. For single C .Va char Ns s locales (see @@ -61,13 +70,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 "\&011\ ht \t012\ nl \t013\ vt \t014\ np \t015\ cr" -.It "\&040\ sp" -.El .Sh RETURN VALUES The .Fn isspace |