Module: cctype
Bindings to ctype.h
. These bindings are awkward to use, because each
takes an int
, instead of a char
. See the ctype
module for a
neater interface.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is alphanumeric.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is alphabetical.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is a control character.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is a digit.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is printable (excludes space).
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is lowercase.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is printable (includes space).
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is a punctuation mark.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is a whitespace character.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is uppercase.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Determine whether a character is a hexadecimal digit.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Convert a character into a lowercase character, if possible.
Linkage: extern-c
Returns: int
Parameters:
(c int)
: A character as an integer.
Convert a character into an uppercase character, if possible.