home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
ISPUNCT.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
9 lines
#define NOCCARGC /* no argument count passing */
/*
** return 'true' if c is a punctuation character
** (all but control and alphanumeric)
*/
ispunct(c) int c; {
return (!isalnum(c) && !iscntrl(c));
}