1<ctype.h>(0P) POSIX Programmer's Manual <ctype.h>(0P)
2
3
4
6 ctype.h - character types
7
9 #include <ctype.h>
10
12 Some of the functionality described on this reference page extends the
13 ISO C standard. Applications shall define the appropriate feature test
14 macro (see the System Interfaces volume of IEEE Std 1003.1-2001, Sec‐
15 tion 2.2, The Compilation Environment) to enable the visibility of
16 these symbols in this header.
17
18 The following shall be declared as functions and may also be defined as
19 macros. Function prototypes shall be provided.
20
21
22 int isalnum(int);
23 int isalpha(int);
24
25 int isascii(int);
26
27 int isblank(int);
28 int iscntrl(int);
29 int isdigit(int);
30 int isgraph(int);
31 int islower(int);
32 int isprint(int);
33 int ispunct(int);
34 int isspace(int);
35 int isupper(int);
36 int isxdigit(int);
37
38 int toascii(int);
39
40 int tolower(int);
41 int toupper(int);
42
43 The following are defined as macros:
44
45
46 int _toupper(int);
47 int _tolower(int);
48
49
50 The following sections are informative.
51
53 None.
54
56 None.
57
59 None.
60
62 <locale.h>, the System Interfaces volume of IEEE Std 1003.1-2001, isal‐
63 num(), isalpha(), isascii(), iscntrl(), isdigit(), isgraph(),
64 islower(), isprint(), ispunct(), isspace(), isupper(), isxdigit(),
65 mblen(), mbstowcs(), mbtowc(), setlocale(), toascii(), tolower(),
66 _tolower(), toupper(), _toupper(), wcstombs(), wctomb()
67
69 Portions of this text are reprinted and reproduced in electronic form
70 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
71 -- Portable Operating System Interface (POSIX), The Open Group Base
72 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
73 Electrical and Electronics Engineers, Inc and The Open Group. In the
74 event of any discrepancy between this version and the original IEEE and
75 The Open Group Standard, the original IEEE and The Open Group Standard
76 is the referee document. The original Standard can be obtained online
77 at http://www.opengroup.org/unix/online.html .
78
79
80
81IEEE/The Open Group 2003 <ctype.h>(0P)