1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
8 // ----------------------------------------------------------------------------
11 #define __CTYPE_H __CTYPE_H
13 // ----------------------------------------------------------------------------
16 // returns nonzero if c is alphanumeric in the locale.
19 // returns nonzero if c is alphabetic character in the locale.
22 // returns nonzero if c is a horizontal blank in the locale.
25 // returns nonzero if c is a control character in the locale.
28 // returns nonzero if c is a digit in the locale.
31 // returns nonzero if c is alphanumeric or a punctuation in the locale.
34 // returns nonzero if c is a lowercase alphabetic character in the locale.
37 // returns nonzero if c is a printable character ( isgraph() or isblank() ) in
41 // returns nonzero if c is a punctuation in the locale.
44 // returns nonzero if c is a whitespace in the locale.
47 // returns nonzero if c is an uppercase alphabetical character in the locale.
50 // returns nonzero if c is a hexedecimal digit in the locale.
51 int isxdigit( int c );
53 // returns lowercase equivalent for c in locale.
56 // returns uppercase equivalent for c in locale.