HPGCC3 Documentation 3.0 R003

ctype.h File Reference

The C type definitions. More...

Go to the source code of this file.

Defines

#define _islower(c)   ('a' <= (c) && (c) <= 'z')
#define _isupper(c)   ('A' <= (c) && (c) <= 'Z')
#define _isdigit(c)   ('0' <= (c) && (c) <= '9')
#define _isalpha(c)   (_islower(c) || _isupper(c))
#define _toupper(c)   (_islower((c)) ? ((c)-32) : (c))
#define _tolower(c)   (_isupper((c)) ? ((c)+32) : (c))

Functions

int islower (int c)
int isupper (int c)
int isdigit (int c)
int isalpha (int c)
int toupper (int c)
int tolower (int c)
int isalnum (int c)

Detailed Description

The C type definitions.

Definition in file ctype.h.


Define Documentation

#define _isalpha (   c)    (_islower(c) || _isupper(c))

Definition at line 22 of file ctype.h.

#define _isdigit (   c)    ('0' <= (c) && (c) <= '9')

Definition at line 21 of file ctype.h.

#define _islower (   c)    ('a' <= (c) && (c) <= 'z')

Definition at line 19 of file ctype.h.

#define _isupper (   c)    ('A' <= (c) && (c) <= 'Z')

Definition at line 20 of file ctype.h.

#define _tolower (   c)    (_isupper((c)) ? ((c)+32) : (c))

Definition at line 24 of file ctype.h.

#define _toupper (   c)    (_islower((c)) ? ((c)-32) : (c))

Definition at line 23 of file ctype.h.


Function Documentation

int isalnum ( int  c)
int isalpha ( int  c)
int isdigit ( int  c)
int islower ( int  c)
int isupper ( int  c)
int tolower ( int  c)
int toupper ( int  c)