diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-06 10:15:38 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-10-06 10:15:38 +0000 |
commit | d9e5246b17769adb460515d3ac43c07f6996772c (patch) | |
tree | 623a3f575bc53e37e40c586ebc8d724484f7ada3 /lib/libc/locale/isprint.3 | |
parent | f1433817e4d3ab79164136292e9ce71191dc49f0 (diff) | |
download | src-d9e5246b17769adb460515d3ac43c07f6996772c.tar.gz src-d9e5246b17769adb460515d3ac43c07f6996772c.zip |
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.
Notes
Notes:
svn path=/head/; revision=104562
Diffstat (limited to 'lib/libc/locale/isprint.3')
-rw-r--r-- | lib/libc/locale/isprint.3 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libc/locale/isprint.3 b/lib/libc/locale/isprint.3 index be2c773cf285..825d06e30396 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 |