mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
Remove confusing "single C char locales" phrase; arguments to these
functions and must now be either an unsigned char or EOF, regardless of locale.
This commit is contained in:
parent
5b86168f54
commit
a385e04b47
12 changed files with 44 additions and 106 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue