#include <CTYPE.H>
Link against:
estlib.lib
isascii (c) ((unsigned)(c)<=0177)
Description
not strict ansi, but popular nevertheless
Parameters
toascii (c) ((c)&0177)
Description
Parameters
IMPORT_C int isalnum(int c);
Description
Tests whether the character is alphabetic or a decimal digit.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
non-zero for true and zero for false. If the parameter is not in the domain of the function, the return result is undefined.
|
|
IMPORT_C int isalpha(int c);
Description
Test for an alphabetic character. For Unicode, the function returns TRUE for all letters, including those from syllabaries
and ideographic scripts. The function returns FALSE for letter-like characters that are in fact diacritics. Specifically,
the function returns TRUE for categories: ELuCategory, ELtCategory, ELlCategory, and ELoCategory; it returns FALSE for all
other categories including ELmCategory.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is alphabetic; false, otherwise.
|
|
IMPORT_C int iscntrl(int c);
Description
Tests whether the character is a control character. For Unicode, the function returns TRUE for all characters in the categories:
ECcCategory, ECfCategory, ECsCategory, ECoCategory and ECnCategoryCc.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is a control character; false, otherwise.
|
|
IMPORT_C int isdigit(int c);
Description
Tests whether the character is a standard decimal digit. For Unicode, this function returns TRUE only for the digits '0'...'9'
(U+0030...U+0039), not for other digits in scripts like Arabic, Tamil, etc.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is a standard decimal digit; false, otherwise.
|
|
IMPORT_C int isgraph(int c);
Description
Tests whether the character is a graphic character. For Unicode, graphic characters include printable characters but not the
space character. Specifically, graphic characters are any character except those in categories: EZsCategory,EZlCategory,EZpCategory,
ECcCategory,ECfCategory,ECsCategory, ECoCategory, and ,ECnCategory. Note that for ISO Latin-1, all alphanumeric and punctuation
characters are graphic.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is a graphic character; false, otherwise.
|
|
IMPORT_C int islower(int c);
Description
Tests if character is a lowercase letter.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is lowercase; false, otherwise.
|
|
IMPORT_C int isprint(int c);
Description
Tests whether the character is a printable character. For Unicode, printable characters are any character except those in
categories: ECcCategory, ECfCategory, ECsCategory, ECoCategory and ECnCategory. Note that for ISO Latin-1, all alphanumeric
and punctuation characters, plus space, are printable.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is printable; false, otherwise.
|
|
IMPORT_C int ispunct(int c);
Description
Tests whether the character is a punctuation character. For Unicode, punctuation characters are any character in the categories:
EPcCategory, EPdCategory, EPsCategory, EPeCategory, EPiCategory, EPfCategory, EPoCategory.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is punctuation; false, otherwise.
|
|
IMPORT_C int isspace(int c);
Description
Tests whether the character is a white space character. White space includes spaces, tabs and separators. For Unicode, the
function returns TRUE for all characters in the categories: EZsCategory, EZlCategory and EZpCategory, and also for the characters
0x0009 (horizontal tab), 0x000A (linefeed), 0x000B (vertical tab), 0x000C (form feed), and 0x000D (carriage return).
Parameters
int c |
an integer whose value is representable as an unsigned char,
|
|
Return value
int |
True, if the character is white space; false, otherwise.
|
|
IMPORT_C int isupper(int c);
Description
Tests whether the character is uppercase.
Parameters
int c |
an integer whose value is representable as an unsigned char.
|
|
Return value
int |
True, if the character is uppercase; false, otherwise.
|
|
IMPORT_C int isxdigit(int c);
Description
Tests whether the character is a hexadecimal digit (0-9, a-f, A-F).
Parameters
int c |
the character to check.
|
|
Return value
int |
True, if the character is a hexadecimal digit; false, otherwise.
|
|
IMPORT_C int tolower(int c);
Description
Tests whether the character is lowercase.
Parameters
int c |
an argument to convert.
|
|
Return value
int |
TBool True, if the character is lowercase; false, otherwise.
|
|
IMPORT_C int toupper(int c);
Description
Returns the character value after conversion to uppercase or the character's own value, if no uppercase form exists. The character
object itself is not changed.
Parameters
int c |
an argument to convert
|
|
Return value
int |
The character value after conversion to uppercase.
|
|