File: ctype_ex.h

package info (click to toggle)
c2man 2.41-9
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 788 kB
  • ctags: 861
  • sloc: ansic: 6,559; sh: 4,761; yacc: 839; lex: 621; makefile: 226; perl: 81
file content (38 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* ctype.h - character classification functions */

/* character is alphanumeric
 * returns 0 if the character doesn't fit the
 * classification; non-zero (but not necessarily 1)
 * if it does.
 */
inline int isalnum(int c	/* the character to classify */);

/* character is a letter */
inline int isalpha(int c);

/* character is a control character */
inline int iscntrl(int c);

/* character is a digit */
inline int isdigit(int c);

/* character is a graphic */
inline int isgraph(int c);

/* character is a lower case letter */
inline int islower(int c);

/* character is printable */
inline int isprint(int c);

/* character is punctuation */
inline int ispunct(int c);

/* character is a a form of whitespace */
inline int isspace(int c);

/* character is an upper case letter */
inline int isupper(int c);

/* character is a hexadecimal digit */
inline int isxdigit(int c);