summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/toupper.3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-03-28 11:36:31 +0000
committerache <ache@FreeBSD.org>2000-03-28 11:36:31 +0000
commit68cad6a3ea16260f64504618a039d82f59a2e758 (patch)
treed03574a56cf99abdf7df704af4d8a6cfcb81996f /lib/libc/locale/toupper.3
parente3991c3acfdd37e221e19eeb7dac3709d7aa2f9d (diff)
downloadFreeBSD-src-68cad6a3ea16260f64504618a039d82f59a2e758.zip
FreeBSD-src-68cad6a3ea16260f64504618a039d82f59a2e758.tar.gz
Describe valid argument domain for 8-bit wide locales to prevent common error
calling ctype functions with signed char as an argument.
Diffstat (limited to 'lib/libc/locale/toupper.3')
-rw-r--r--lib/libc/locale/toupper.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/locale/toupper.3 b/lib/libc/locale/toupper.3
index 33742da..28bc027 100644
--- a/lib/libc/locale/toupper.3
+++ b/lib/libc/locale/toupper.3
@@ -51,6 +51,8 @@ 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
If the argument is a lower-case letter, the
.Fn toupper
OpenPOWER on IntegriCloud