CTYPE.H(7) Miscellaneous Information Manual CTYPE.H(7)

ctype.hcharacter types

#include <ctype.h>

Some of the functionality described on this reference page extends the ISO C standard. Applications shall define the appropriate feature test macro (see the System Interfaces volume of IEEE Std 1003.1-2001 (“POSIX.1”), xsh_chap02_02(3)) to enable the visibility of these symbols in this header.

The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.

int   isalnum(int);
int   isalpha(int);
[XSI]
int   isascii(int);

int   isblank(int);
int   iscntrl(int);
int   isdigit(int);
int   isgraph(int);
int   islower(int);
int   isprint(int);
int   ispunct(int);
int   isspace(int);
int   isupper(int);
int   isxdigit(int);
[XSI]
int   toascii(int);

int   tolower(int);
int   toupper(int);

The following are defined as macros:

[XSI]
int   _toupper(int);
int   _tolower(int);

None.

None.

None.

<locale.h>, the System Interfaces volume of IEEE Std 1003.1-2001 (“POSIX.1”), isalnum(3), isalpha(3), isascii(3), iscntrl(3), isdigit(3), isgraph(3), islower(3), isprint(3), ispunct(3), isspace(3), isupper(3), isxdigit(3), mblen(3), mbstowcs(3), mbtowc(3), setlocale(3), toascii(3), tolower(3), _tolower(3), toupper(3), _toupper(3), wcstombs(3), wctomb(3)

First released in Issue 1. Derived from Issue 1 of the SVID.

Extensions beyond the ISO C standard are marked.

footer end

January 1, 2004 posix.fail