xref: /csrg-svn/lib/libc/locale/isascii.3 (revision 51387)
1.\" Copyright (c) 1989, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)isascii.3	5.2 (Berkeley) 10/23/91
7.\"
8.Dd
9.Dt ISASCII 3
10.Os
11.Sh NAME
12.Nm isascii
13.Nd test for ASCII character
14.Sh SYNOPSIS
15.Fd #include <ctype.h>
16.Ft int
17.Fn isascii "int c";
18.Sh DESCRIPTION
19The
20.Fn isascii
21function tests for an
22.Tn ASCII
23character, which is any character
24for which either
25.Xr iscntrl 3
26(character codes 000 through 037 and also including
270177) or
28.Xr isprint 3
29(character codes 040 through 0176) is true.
30.Sh SEE ALSO
31.Xr ctype 3 ,
32.Xr ascii 7
33.Sh STANDARDS
34The
35.Fn isascii
36function conforms to
37.St -ansiC .
38