home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_progs / prog_c / edlib.lzh / EDLIB / ISCSYMF.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-16  |  454 b   |  18 lines

  1. /*
  2.  * edlib v1.1 Copyright 1989 Edwin Hoogerbeets
  3.  * This code is freely redistributable as long as no charge other than
  4.  * reasonable copying fees are levied for it.
  5.  */
  6.  
  7. /*
  8.     iscsymf is included here because Manx for some reason does not have
  9.     it in ctype.h. tells whether or not the given character may be the
  10.     first character of a valid C symbol
  11. */
  12. #include <ctype.h>
  13. int iscsymf(c)
  14. register char c;
  15. {
  16.     return( isalpha(c) || c == '_' );
  17. }
  18.