summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2005-07-17 04:11:06 +0000
committertjr <tjr@FreeBSD.org>2005-07-17 04:11:06 +0000
commit016c317723b138a4f4d33dbf643bf3972263f899 (patch)
tree0084b0f36a0e6e42a52306a9b56e518370344532
parent111bf5f2adbdb502f39bba488b8fdf250b4a92c9 (diff)
downloadFreeBSD-src-016c317723b138a4f4d33dbf643bf3972263f899.zip
FreeBSD-src-016c317723b138a4f4d33dbf643bf3972263f899.tar.gz
Remove confusing "single C char locales" phrase; arguments to these
functions and must now be either an unsigned char or EOF, regardless of locale.
-rw-r--r--lib/libc/locale/isalnum.313
-rw-r--r--lib/libc/locale/isalpha.313
-rw-r--r--lib/libc/locale/isblank.312
-rw-r--r--lib/libc/locale/iscntrl.313
-rw-r--r--lib/libc/locale/isdigit.311
-rw-r--r--lib/libc/locale/isgraph.313
-rw-r--r--lib/libc/locale/islower.313
-rw-r--r--lib/libc/locale/isprint.313
-rw-r--r--lib/libc/locale/ispunct.313
-rw-r--r--lib/libc/locale/isspace.311
-rw-r--r--lib/libc/locale/isupper.313
-rw-r--r--lib/libc/locale/isxdigit.312
12 files changed, 44 insertions, 106 deletions
diff --git a/lib/libc/locale/isalnum.3 b/lib/libc/locale/isalnum.3
index b87c5bd..02e2dd2 100644
--- a/lib/libc/locale/isalnum.3
+++ b/lib/libc/locale/isalnum.3
@@ -36,7 +36,7 @@
.\" @(#)isalnum.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISALNUM 3
.Os
.Sh NAME
@@ -56,15 +56,11 @@ function tests for any character for which
or
.Xr isdigit 3
is true.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -103,7 +99,6 @@ function should be used instead.
.Xr isalpha 3 ,
.Xr isdigit 3 ,
.Xr iswalnum 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/isalpha.3 b/lib/libc/locale/isalpha.3
index 7ab4e3a..0959149 100644
--- a/lib/libc/locale/isalpha.3
+++ b/lib/libc/locale/isalpha.3
@@ -36,7 +36,7 @@
.\" @(#)isalpha.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISALPHA 3
.Os
.Sh NAME
@@ -56,15 +56,11 @@ function tests for any character for which
or
.Xr islower 3
is true.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -101,7 +97,6 @@ function should be used instead.
.Xr islower 3 ,
.Xr isupper 3 ,
.Xr iswalpha 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/isblank.3 b/lib/libc/locale/isblank.3
index c03cfd3..a027cd6 100644
--- a/lib/libc/locale/isblank.3
+++ b/lib/libc/locale/isblank.3
@@ -32,7 +32,7 @@
.\" @(#)isblank.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISBLANK 3
.Os
.Sh NAME
@@ -57,13 +57,8 @@ For any locale, this includes the following standard characters:
In the "C" locale
.Fn isblank
successful test is limited to this characters only.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
.Sh RETURN VALUES
@@ -84,7 +79,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswblank 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 8e1e4e4..25e8954 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -36,7 +36,7 @@
.\" @(#)iscntrl.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISCNTRL 3
.Os
.Sh NAME
@@ -52,15 +52,11 @@
The
.Fn iscntrl
function tests for any control character.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -91,7 +87,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswcntrl 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/isdigit.3 b/lib/libc/locale/isdigit.3
index 483041f..2505743 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 August 21, 2004
+.Dd July 17, 2005
.Dt ISDIGIT 3
.Os
.Sh NAME
@@ -68,13 +68,8 @@ function behaves similarly to
but may recognize additional characters, depending on the current locale
setting.
.Pp
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/isgraph.3 b/lib/libc/locale/isgraph.3
index e4e2c62..632610b 100644
--- a/lib/libc/locale/isgraph.3
+++ b/lib/libc/locale/isgraph.3
@@ -36,7 +36,7 @@
.\" @(#)isgraph.3 8.2 (Berkeley) 12/11/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISGRAPH 3
.Os
.Sh NAME
@@ -55,15 +55,11 @@ function tests for any printing character except space
.Pq Ql "\ "
and other
locale specific space-like characters.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -106,7 +102,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswgraph 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/islower.3 b/lib/libc/locale/islower.3
index 57ee9a9..bf9bcef 100644
--- a/lib/libc/locale/islower.3
+++ b/lib/libc/locale/islower.3
@@ -36,7 +36,7 @@
.\" @(#)islower.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISLOWER 3
.Os
.Sh NAME
@@ -52,15 +52,11 @@
The
.Fn islower
function tests for any lower-case letters.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -90,7 +86,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswlower 3 ,
-.Xr multibyte 3 ,
.Xr tolower 3 ,
.Xr ascii 7
.Sh STANDARDS
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3
index 99133ea..a01f863 100644
--- a/lib/libc/locale/isprint.3
+++ b/lib/libc/locale/isprint.3
@@ -36,7 +36,7 @@
.\" @(#)isprint.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISPRINT 3
.Os
.Sh NAME
@@ -53,15 +53,11 @@ The
.Fn isprint
function tests for any printing character including space
.Pq Ql "\ " .
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -104,7 +100,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswprint 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/ispunct.3 b/lib/libc/locale/ispunct.3
index c5ef60f..2ae06ed 100644
--- a/lib/libc/locale/ispunct.3
+++ b/lib/libc/locale/ispunct.3
@@ -36,7 +36,7 @@
.\" @(#)ispunct.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISPUNCT 3
.Os
.Sh NAME
@@ -57,15 +57,11 @@ or a
character for which
.Xr isalnum 3
is true.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -96,7 +92,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswpunct 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
diff --git a/lib/libc/locale/isspace.3 b/lib/libc/locale/isspace.3
index db2775f..13f06bf 100644
--- a/lib/libc/locale/isspace.3
+++ b/lib/libc/locale/isspace.3
@@ -36,7 +36,7 @@
.\" @(#)isspace.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISSPACE 3
.Os
.Sh NAME
@@ -61,13 +61,8 @@ For any locale, this includes the following standard characters:
In the "C" locale
.Fn isspace
successful test is limited to this characters only.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
.Sh RETURN VALUES
diff --git a/lib/libc/locale/isupper.3 b/lib/libc/locale/isupper.3
index c1fe632..f8e403f 100644
--- a/lib/libc/locale/isupper.3
+++ b/lib/libc/locale/isupper.3
@@ -36,7 +36,7 @@
.\" @(#)isupper.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISUPPER 3
.Os
.Sh NAME
@@ -52,15 +52,11 @@
The
.Fn isupper
function tests for any upper-case letter.
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
+.Pp
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
@@ -90,7 +86,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswupper 3 ,
-.Xr multibyte 3 ,
.Xr toupper 3 ,
.Xr ascii 7
.Sh STANDARDS
diff --git a/lib/libc/locale/isxdigit.3 b/lib/libc/locale/isxdigit.3
index 9dc3400..16c64b1 100644
--- a/lib/libc/locale/isxdigit.3
+++ b/lib/libc/locale/isxdigit.3
@@ -36,7 +36,7 @@
.\" @(#)isxdigit.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd August 21, 2004
+.Dd July 17, 2005
.Dt ISXDIGIT 3
.Os
.Sh NAME
@@ -71,13 +71,8 @@ function behaves similarly to
but may recognize additional characters,
depending on the current locale setting.
.Pp
-For single C
-.Va char Ns s
-locales (see
-.Xr multibyte 3 )
-the value of the argument is
-representable as an
-.Li unsigned char
+The value of the argument must be representable as an
+.Vt unsigned char
or the value of
.Dv EOF .
.Sh RETURN VALUES
@@ -98,7 +93,6 @@ function should be used instead.
.Sh SEE ALSO
.Xr ctype 3 ,
.Xr iswxdigit 3 ,
-.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
The
OpenPOWER on IntegriCloud