diff options
author | tjr <tjr@FreeBSD.org> | 2005-07-17 03:37:00 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2005-07-17 03:37:00 +0000 |
commit | 111bf5f2adbdb502f39bba488b8fdf250b4a92c9 (patch) | |
tree | c3c4930a8b3845ede29cd3fb05c5e94aa04002a4 /lib/libc/locale | |
parent | 7374fff2265577246a40940afbbaa564c26d89cf (diff) | |
download | FreeBSD-src-111bf5f2adbdb502f39bba488b8fdf250b4a92c9.zip FreeBSD-src-111bf5f2adbdb502f39bba488b8fdf250b4a92c9.tar.gz |
Remove confusing "single C char locales" phrase; arguments to tolower()
and toupper() must now be either an unsigned char or EOF, regardless of
locale.
Diffstat (limited to 'lib/libc/locale')
-rw-r--r-- | lib/libc/locale/tolower.3 | 12 | ||||
-rw-r--r-- | lib/libc/locale/toupper.3 | 12 |
2 files changed, 6 insertions, 18 deletions
diff --git a/lib/libc/locale/tolower.3 b/lib/libc/locale/tolower.3 index 47dfb44..08d25cc 100644 --- a/lib/libc/locale/tolower.3 +++ b/lib/libc/locale/tolower.3 @@ -36,7 +36,7 @@ .\" @(#)tolower.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd August 21, 2004 +.Dd July 17, 2005 .Dt TOLOWER 3 .Os .Sh NAME @@ -53,13 +53,8 @@ The .Fn tolower function converts an upper-case letter to the corresponding lower-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 argument must be representable as an +.Vt unsigned char or the value of .Dv EOF . .Sh RETURN VALUES @@ -80,7 +75,6 @@ function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr islower 3 , -.Xr multibyte 3 , .Xr towlower 3 .Sh STANDARDS The diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3 index d3008232..381f080 100644 --- a/lib/libc/locale/toupper.3 +++ b/lib/libc/locale/toupper.3 @@ -36,7 +36,7 @@ .\" @(#)toupper.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd August 21, 2004 +.Dd July 17, 2005 .Dt TOUPPER 3 .Os .Sh NAME @@ -53,13 +53,8 @@ The .Fn toupper function converts a lower-case letter to the corresponding 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 argument must be representable as an +.Vt unsigned char or the value of .Dv EOF . .Sh RETURN VALUES @@ -80,7 +75,6 @@ function should be used instead. .Sh SEE ALSO .Xr ctype 3 , .Xr isupper 3 , -.Xr multibyte 3 , .Xr towupper 3 .Sh STANDARDS The |