home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 216.lha / EdLib_v1.0 / edlib.h < prev    next >
C/C++ Source or Header  |  1996-02-15  |  2KB  |  46 lines

  1. /*
  2.     edlib.h Copyright 1988 Edwin Hoogerbeets
  3.  
  4.     This code may be freely redistributed as long as no cost is levied
  5.     for it and that this copyright notice remains intact.
  6.  
  7.     edlib contains a bunch of routines that are listed in H&S that are
  8.     not in the Manx libraries. Also contains other public domain as well
  9.     as freely redistributable routines.
  10.  
  11.     The library was compiled with Manx 3.6a.
  12. */
  13. #include <exec/types.h>
  14.  
  15. /* character processing functions */
  16. extern int   isbdigit();  /* is the character a `1' or a `0'? */
  17. extern int   iscsym();    /* character part of a valid C symbol? */
  18. extern int   iscsymf();   /* character valid a first char in a C symbol? */
  19. extern int   toint();     /* converts a character 0..f to its hexadecimal value */
  20. extern int   isodigit();  /* is this an octal digit? */
  21.  
  22. /* string processing functions */
  23. extern int  bintoint();   /* these three take character strings and return the */
  24. extern int  dectoint();   /* int value of the number in the string */
  25. extern int  hextoint();
  26. extern char *stoupper();  /* converts a string to entirely upper case chars */
  27. extern char *stolower();  /* converts a string to entirely lower case chars */
  28. extern int  strpos();     /* gives position of first occurance of char in string */
  29. extern int  strrpos();    /* gives position of last occurance of char in string */
  30. extern char *strrpbrk();
  31. extern int  stricmp();    /* case insensitive string compare */
  32. extern int  strnicmp();   /* " with a certain length */
  33. extern int  strcspn();
  34. extern char *strpbrk();   /* these four courtesy Daniel J. Barrett */
  35. extern char *strtok();
  36. extern int  strspn();
  37.  
  38. /* definitions to use getopt() */
  39. extern int getopt();
  40. extern char *optarg;
  41. extern int optind;
  42.  
  43.  
  44.  
  45.  
  46.