Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Remove CAVEATS section and note that isascii() ...



details:   https://anonhg.NetBSD.org/src/rev/ab17068aa842
branches:  trunk
changeset: 545681:ab17068aa842
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Apr 14 12:04:18 2003 +0000

description:
Remove CAVEATS section and note that isascii() works on all integer
values.

>From PR standards/21179 from Christian Biere.  Verified against SUSv3 too.

diffstat:

 lib/libc/gen/isascii.3 |  14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 146eb50c169f -r ab17068aa842 lib/libc/gen/isascii.3
--- a/lib/libc/gen/isascii.3    Mon Apr 14 11:57:45 2003 +0000
+++ b/lib/libc/gen/isascii.3    Mon Apr 14 12:04:18 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: isascii.3,v 1.11 2002/11/08 02:05:16 enami Exp $
+.\"    $NetBSD: isascii.3,v 1.12 2003/04/14 12:04:18 simonb Exp $
 .\"
 .\" Copyright (c) 1989, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -52,6 +52,10 @@
 .Tn ASCII
 character, which is any character with a value less than or
 equal to 0177.
+.Pp
+The
+.Fn isascii
+is defined on all integer values.
 .Sh SEE ALSO
 .Xr isalnum 3 ,
 .Xr isalpha 3 ,
@@ -75,11 +79,3 @@
 .Fn isascii
 function conforms to
 .St -xpg4 .
-.Sh CAVEATS
-The argument to
-.Fn isascii
-must be
-.Dv EOF
-or representable as an
-.Li unsigned char ;
-otherwise, the result is undefined.



Home | Main Index | Thread Index | Old Index