summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/isprint.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/isprint.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/isprint.3')
-rw-r--r--lib/libc/locale/isprint.32
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3
index 6bf1f55..6af2257 100644
--- a/lib/libc/locale/isprint.3
+++ b/lib/libc/locale/isprint.3
@@ -50,6 +50,8 @@
The
.Fn isprint
function tests for any printing character including space (' ').
+For 8-bit wide locales the value of the argument is
+representable as an unsigned char or the value of EOF.
In the ASCII character set, this includes the following characters
(with their numeric values shown in octal):
.Pp
OpenPOWER on IntegriCloud