home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d2xx / d218 / edlib.lha / EdLib / iscsymf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-06-04  |  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.