diff options
Diffstat (limited to 'lib/libc/gen/isascii.3')
-rw-r--r-- | lib/libc/gen/isascii.3 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/libc/gen/isascii.3 b/lib/libc/gen/isascii.3 index c349530c4ed..1d81875ce89 100644 --- a/lib/libc/gen/isascii.3 +++ b/lib/libc/gen/isascii.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: isascii.3,v 1.5 1999/05/16 19:54:54 alex Exp $ +.\" $OpenBSD: isascii.3,v 1.6 1999/05/29 20:07:13 aaron Exp $ .\" .\" Copyright (c) 1989, 1991 The Regents of the University of California. .\" All rights reserved. @@ -36,7 +36,7 @@ .Os .Sh NAME .Nm isascii -.Nd test for ASCII character +.Nd ASCII character test .Sh SYNOPSIS .Fd #include <ctype.h> .Ft int @@ -48,6 +48,11 @@ function tests for an .Tn ASCII character, which is any character with a value less than or equal to 0177. +.Sh RETURN VALUES +The +.Fn isascii +macro returns zero if the character tests false or +non-zero if the character tests true. .Sh SEE ALSO .Xr isalnum 3 , .Xr isalpha 3 , @@ -63,7 +68,7 @@ equal to 0177. .Xr isxdigit 3 , .Xr stdio 3 , .Xr toascii 3 , -.Xr tolower 3 , +.Xr tolower 3 , .Xr toupper 3 , .Xr ascii 7 .Sh STANDARDS |