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 XSH V2_chap02(3) ) to enable the visibility of these symbols in this header. The <ctype.h> header shall define the type as described in <locale.h>, representing a locale object. The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided for use with ISO C standard compilers. int isalnum(int); [CX] int isalnum_l(int, locale_t); int isalpha(int); [CX] int isalpha_l(int, locale_t); [OB XSI] int isascii(int); int isblank(int); [CX] int isblank_l(int, locale_t); int iscntrl(int); [CX] int iscntrl_l(int, locale_t); int isdigit(int); [CX] int isdigit_l(int, locale_t); int isgraph(int); [CX] int isgraph_l(int, locale_t); int islower(int); [CX] int islower_l(int, locale_t); int isprint(int); [CX] int isprint_l(int, locale_t); int ispunct(int); [CX] int ispunct_l(int, locale_t); int isspace(int); [CX] int isspace_l(int, locale_t); int isupper(int); [CX] int isupper_l(int, locale_t); int isxdigit(int); [CX] int isxdigit_l(int, locale_t); [OB XSI] int toascii(int); int tolower(int); [CX] int tolower_l(int, locale_t); int toupper(int); [CX] int toupper_l(int, locale_t); The <ctype.h> header shall define the following as macros: [OB XSI] int _toupper(int); int _tolower(int);

None.

None.

None.

<locale.h>

XSH V2_chap02(3), isalnum(3), isalpha(3), isascii(3), isblank(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.

SD5-XBD-ERN-6 is applied, updating the wording regarding the function declarations for consistency.

The () functions are added from The Open Group Technical Standard, 2006, Extended API Set Part 4.

January 1, 2016 posix.fail