summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/iscntrl.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/iscntrl.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/iscntrl.3')
-rw-r--r--lib/libc/locale/iscntrl.314
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/locale/iscntrl.3 b/lib/libc/locale/iscntrl.3
index 070fb9e..194b955 100644
--- a/lib/libc/locale/iscntrl.3
+++ b/lib/libc/locale/iscntrl.3
@@ -36,7 +36,7 @@
.\" @(#)iscntrl.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd October 6, 2002
.Dt ISCNTRL 3
.Os
.Sh NAME
@@ -78,8 +78,20 @@ The
.Fn iscntrl
function returns zero if the character tests false and
returns non-zero if the character tests true.
+.Sh COMPATIBILITY
+Although
+.Fn iscntrl
+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 iwcntrl
+function should be used instead for maximum portability.
.Sh SEE ALSO
.Xr ctype 3 ,
+.Xr iswcntrl 3 ,
.Xr multibyte 3 ,
.Xr ascii 7
.Sh STANDARDS
OpenPOWER on IntegriCloud