Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Tiny BASIC Interpreter and Compiler Project
  3.  * Common service routines module
  4.  *
  5.  * Released as Public Domain by Damian Gareth Walker 2019
  6.  * Created: 20-Sep-2019
  7.  */
  8.  
  9.  
  10. #ifndef __COMMON_H__
  11. #define __COMMON_H__
  12.  
  13.  
  14. /*
  15.  * Function Declarations
  16.  */
  17.  
  18.  
  19. /*
  20.  * Portable case-insensitive comparison
  21.  * params:
  22.  *   char*   a   string to compare
  23.  *   char*   b   string to compare to
  24.  * returns:
  25.  *   int         -1 if a<b, 0 if a==b, 1 if a>b
  26.  */
  27. int tinybasic_strcmp (char *a, char *b);
  28.  
  29.  
  30. #endif
  31.