1ISASCII(P) POSIX Programmer's Manual ISASCII(P)
2
3
4
6 isascii - test for a 7-bit US-ASCII character
7
9 #include <ctype.h>
10
11 int isascii(int c);
12
13
15 The isascii() function shall test whether c is a 7-bit US-ASCII characā
16 ter code.
17
18 The isascii() function is defined on all integer values.
19
21 The isascii() function shall return non-zero if c is a 7-bit US-ASCII
22 character code between 0 and octal 0177 inclusive; otherwise, it shall
23 return 0.
24
26 No errors are defined.
27
28 The following sections are informative.
29
31 None.
32
34 None.
35
37 None.
38
40 None.
41
43 The Base Definitions volume of IEEE Std 1003.1-2001, <ctype.h>
44
46 Portions of this text are reprinted and reproduced in electronic form
47 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
48 -- Portable Operating System Interface (POSIX), The Open Group Base
49 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
50 Electrical and Electronics Engineers, Inc and The Open Group. In the
51 event of any discrepancy between this version and the original IEEE and
52 The Open Group Standard, the original IEEE and The Open Group Standard
53 is the referee document. The original Standard can be obtained online
54 at http://www.opengroup.org/unix/online.html .
55
56
57
58IEEE/The Open Group 2003 ISASCII(P)