summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2021-06-12 16:53:29 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2021-06-12 16:53:29 +0000
commit2e8238a68668d7c247a6b6ad4adb52ce9eecb2a3 (patch)
tree258c9b9c3e05c4f0a470dd4c706f86c0d9a6606f /lib/libc/gen
parentbdfb1af03a325e7066b98d534d904028b3db863e (diff)
remove incorrect CAVEATS section;
from miod; ok millert while here, knock out an instance of ".Tn"
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/isascii.318
1 files changed, 4 insertions, 14 deletions
diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3
index 65cb63d7ad5..bf391040b9e 100644
--- a/lib/libc/gen/isascii.3
+++ b/lib/libc/gen/isascii.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isascii.3,v 1.13 2013/07/17 05:42:11 schwarze Exp $
+.\" $OpenBSD: isascii.3,v 1.14 2021/06/12 16:53:28 jmc Exp $
.\"
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: June 12 2021 $
.Dt ISASCII 3
.Os
.Sh NAME
@@ -40,10 +40,8 @@
.Sh DESCRIPTION
The
.Fn isascii
-function tests for an
-.Tn ASCII
-character, which is any character with a value less than or
-equal to 0177.
+function tests for an ASCII character,
+which is any character with a value less than or equal to 0177.
.Sh RETURN VALUES
The
.Fn isascii
@@ -77,11 +75,3 @@ The
.Fn isascii
function first appeared in
.At v7 .
-.Sh CAVEATS
-The argument to
-.Fn isascii
-must be
-.Dv EOF
-or representable as an
-.Li unsigned char ;
-otherwise, the result is undefined.