home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 163_01 / ispunct.c < prev    next >
Text File  |  1988-01-31  |  384b  |  9 lines

  1. extern int isalpha(), iscntrl();
  2. /*
  3. ** ispunct -- true if argument is neither ASCII control or alphabetic
  4. */
  5. ispunct(c) char c; {
  6.   if(isalpha(c) || iscntrl(c)) return 0;
  7.   else return 1;
  8.   }
  9.