home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / SMALL_C / ISCNTRL.C < prev    next >
Text File  |  1987-10-04  |  256b  |  9 lines

  1. /*
  2. ** return 'true' if c is a control character
  3. ** (0-31 or 127)
  4. */
  5. iscntrl(c) char *c; {
  6.   /* c is a simulated unsigned integer */
  7.   return ((c <= 31) || (c == 127));
  8.   }
  9.