Chapter Contents |
Previous |
Next |
iscsym |
Portability: | SAS/C extension |
SYNOPSIS | |
DESCRIPTION | |
RETURN VALUE | |
CAUTION | |
EXAMPLE | |
RELATED FUNCTIONS | |
SEE ALSO |
SYNOPSIS |
#include <lctype.h> int iscsym(int c);
DESCRIPTION |
iscsym
tests an integer value to determine whether it is a character that can appear
in a C identifier (after the first character). This implementation includes
the uppercase and lowercase alphabetic characters, the digits, and the underscore
as valid characters.
RETURN VALUE |
iscsym
returns 0 if the character is not a valid character in a C identifier, or
a nonzero value if it is. If the argument is
EOF
, 0 is returned.
CAUTION |
The effect of
iscsym
on a noncharacter argument other than
EOF
is undefined. Do not assume that
iscsym
returns either 0 or 1.
EXAMPLE |
See
iscsymf
for an example of this function.
RELATED FUNCTIONS |
SEE ALSO |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.