summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/isprint.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-06 10:15:38 +0000
committertjr <tjr@FreeBSD.org>2002-10-06 10:15:38 +0000
commitb5f0d0d8f20813c2d455d7c7558ba9f1262f14df (patch)
tree623a3f575bc53e37e40c586ebc8d724484f7ada3 /lib/libc/locale/isprint.3
parent586be0c8e408503046f9ec2876df528aa332c963 (diff)
downloadFreeBSD-src-b5f0d0d8f20813c2d455d7c7558ba9f1262f14df.zip
FreeBSD-src-b5f0d0d8f20813c2d455d7c7558ba9f1262f14df.tar.gz
Add a note to the Compatiblity section suggesting that these functions
only be used for byte values. Add cross-references to the wide-char counterparts.
Diffstat (limited to 'lib/libc/locale/isprint.3')
-rw-r--r--lib/libc/locale/isprint.314
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3
index be2c773..825d06e 100644
--- a/lib/libc/locale/isprint.3
+++ b/lib/libc/locale/isprint.3
@@ -36,7 +36,7 @@
.\" @(#)isprint.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd October 6, 2002
.Dt ISPRINT 3
.Os
.Sh NAME
@@ -91,8 +91,20 @@ The
.Fn isprint
function returns zero if the character tests false and
returns non-zero if the character tests true.
+.Sh COMPATIBILITY
+Although
+.Fn isprint
+accepts arguments outside of the range of the
+.Vt "unsigned char"
+type in locales with large character sets,
+this is a
+.Bx 4.4
+extension and the
+.Fn iswprint
+function should be used instead for maximum portability.
.Sh SEE ALSO
.Xr ctype 3 ,
+.Xr iswprint 3 ,
.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
OpenPOWER on IntegriCloud