home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff218.lzh / EdLib / iscsymf.c < prev    next >
C/C++ Source or Header  |  1989-06-04  |  454b  |  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.