summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-08-22 02:18:43 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-08-22 02:18:43 +0000
commitcf08002341adaf15745c420fac915e58e309f7ea (patch)
tree88738a0f56fd6152f9b5159a683009c6611b61c9 /lib/libc
parent17d9d079b9a4c8c3b7060b276de28fc785ecae09 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/tolower.319
-rw-r--r--lib/libc/locale/toupper.321
2 files changed, 21 insertions, 19 deletions
diff --git a/lib/libc/locale/tolower.3 b/lib/libc/locale/tolower.3
index e120af3843d7..9b4a177a3ba1 100644
--- a/lib/libc/locale/tolower.3
+++ b/lib/libc/locale/tolower.3
@@ -53,20 +53,20 @@ 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
+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 ,
@@ -80,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 5d6fb2d0518f..f32f1a681539 100644
--- a/lib/libc/locale/toupper.3
+++ b/lib/libc/locale/toupper.3
@@ -53,20 +53,20 @@ The
.Fn toupper
function converts a lower-case letter to the corresponding
upper-case letter.
-.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 ,
@@ -80,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 ,