xref: /csrg-svn/lib/libc/locale/isascii.3 (revision 48904)
1*48904Scael.\" Copyright (c) 1989, 1991 The Regents of the University of California.
2*48904Scael.\" All rights reserved.
3*48904Scael.\"
4*48904Scael.\" %sccs.include.redist.man%
5*48904Scael.\"
6*48904Scael.\"     @(#)isascii.3	5.1 (Berkeley) 05/02/91
7*48904Scael.\"
8*48904Scael.Dd
9*48904Scael.Dt ISASCII 3
10*48904Scael.Os
11*48904Scael.Sh NAME
12*48904Scael.Nm isascii
13*48904Scael.Nd test for ASCII character
14*48904Scael.Sh SYNOPSIS
15*48904Scael.Fd #include <ctype.h>
16*48904Scael.Ft int
17*48904Scael.Fn isascii "int c"
18*48904Scael.Sh DESCRIPTION
19*48904ScaelThe
20*48904Scael.Fn isascii
21*48904Scaelfunction tests for an
22*48904Scael.Tn ASCII
23*48904Scaelcharacter, which is any character
24*48904Scaelfor which either
25*48904Scael.Xr iscntrl 3
26*48904Scael(character codes 000 through 037 and also including
27*48904Scael0177) or
28*48904Scael.Xr isprint 3
29*48904Scael(character codes 040 through 0176) is true.
30*48904Scael.Sh SEE ALSO
31*48904Scael.Xr isalnum 3 ,
32*48904Scael.Xr isalpha 3 ,
33*48904Scael.Xr iscntrl 3 ,
34*48904Scael.Xr isdigit 3 ,
35*48904Scael.Xr isgraph 3 ,
36*48904Scael.Xr islower 3 ,
37*48904Scael.Xr isprint 3 ,
38*48904Scael.Xr ispunct 3 ,
39*48904Scael.Xr isspace 3 ,
40*48904Scael.Xr isupper 3 ,
41*48904Scael.Xr isxdigit 3 ,
42*48904Scael.Xr toascii 3 ,
43*48904Scael.Xr tolower 3 ,
44*48904Scael.Xr toupper 3 ,
45*48904Scael.Xr stdio 3
46*48904Scael.Xr ascii 7
47*48904Scael.Sh STANDARDS
48*48904ScaelThe
49*48904Scael.Fn isascii
50*48904Scaelfunction conforms to
51*48904Scael.St -ansiC .
52