diff options
author | ache <ache@FreeBSD.org> | 2000-07-03 13:03:15 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-07-03 13:03:15 +0000 |
commit | 4d4c1623e80b77960d7fa71960641b1c23c246f2 (patch) | |
tree | 870738e96e49980721a075cbfa9f8355dd9c618b | |
parent | 003a1ce32aa3d7686a76de548fb087d6e52c4478 (diff) | |
download | FreeBSD-src-4d4c1623e80b77960d7fa71960641b1c23c246f2.zip FreeBSD-src-4d4c1623e80b77960d7fa71960641b1c23c246f2.tar.gz |
Describe agrument range correctly, according to multibyte(3)
Remove unneded comment
-rw-r--r-- | lib/libc/locale/tolower.3 | 21 | ||||
-rw-r--r-- | lib/libc/locale/toupper.3 | 23 |
2 files changed, 21 insertions, 23 deletions
diff --git a/lib/libc/locale/tolower.3 b/lib/libc/locale/tolower.3 index 6b81d0b..9b4a177 100644 --- a/lib/libc/locale/tolower.3 +++ b/lib/libc/locale/tolower.3 @@ -53,22 +53,20 @@ The .Fn tolower function converts an upper-case letter to the corresponding lower-case letter. -For 8-bit wide locales the value of the argument is -representable as an unsigned char or the value of EOF. +For single C +.Va char Ns s +locales (see +.Xr multibyte 3 ) +the value of the argument is +representable as an +.Li unsigned char +or the value of +.Dv EOF . .Sh RETURN VALUES If the argument is an upper-case letter, the .Fn tolower function returns the corresponding lower-case letter if there is one; otherwise the argument is returned unchanged. -.\" In the -.\" .Em ``C'' -.\" locale, -.\" .Fn tolower -.\" maps only the characters for which -.\" .Xr isupper -.\" is true to the corresponding characters for which -.\" .Xr islower -.\" is true. .Sh SEE ALSO .Xr isalnum 3 , .Xr isalpha 3 , @@ -82,6 +80,7 @@ one; otherwise the argument is returned unchanged. .Xr isspace 3 , .Xr isupper 3 , .Xr isxdigit 3 , +.Xr multibyte 3 , .Xr stdio 3 , .Xr toascii 3 , .Xr toupper 3 , diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3 index 64834ab..f32f1a6 100644 --- a/lib/libc/locale/toupper.3 +++ b/lib/libc/locale/toupper.3 @@ -53,22 +53,20 @@ The .Fn toupper function converts a lower-case letter to the corresponding upper-case letter. -For 8-bit wide locales the value of the argument is -representable as an unsigned char or the value of EOF. -.SH RETURN VALUES +For single C +.Va char Ns s +locales (see +.Xr multibyte 3 ) +the value of the argument is +representable as an +.Li unsigned char +or the value of +.Dv EOF . +.Sh RETURN VALUES If the argument is a lower-case letter, the .Fn toupper function returns the corresponding upper-case letter if there is one; otherwise the argument is returned unchanged. -.\" In the -.\" .Em ``C'' -.\" locale, -.\" .Fn toupper -.\" maps only the characters for which -.\" .Xr islower -.\" is true to the corresponding characters for which -.\" .Xr isupper -.\" is true. .Sh SEE ALSO .Xr isalnum 3 , .Xr isalpha 3 , @@ -82,6 +80,7 @@ one; otherwise the argument is returned unchanged. .Xr isspace 3 , .Xr isupper 3 , .Xr isxdigit 3 , +.Xr multibyte 3 , .Xr stdio 3 , .Xr toascii 3 , .Xr tolower 3 , |