home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 216.lha / EdLib_v1.0 / iscsym.c < prev    next >
C/C++ Source or Header  |  1996-02-15  |  299b  |  18 lines

  1. /* edlib  version 1.0 of 04/08/88 */
  2. /*
  3.     this function returns a non-zero number if the character given
  4.     is suitable for the a character of an identifier
  5. */
  6. #include <ctype.h>
  7. #define NULL 0
  8.  
  9. int iscsym(c)
  10. char c;
  11. {
  12.     if ( iscsymf(c) || isdigit(c) )
  13.         return(c);
  14.  
  15.     return(NULL);
  16. }
  17.  
  18.