#include <lctype.h> int iscsym(int c);
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.
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.
iscsym
on a noncharacter argument other than EOF
is undefined. Do not assume that iscsym
returns either 0 or 1.
iscsymf
for an example of this function.
iscsymf
Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.