1: /* $Header$ */
   2: 
   3: /*
   4:  * General macro function definitions
   5:  *
   6:  * Author: Peter J. Nicklin
   7:  */
   8: 
   9: int strcmp();               /* string comparison */
  10: 
  11: #undef CHDIR
  12: #define CHDIR(d) \
  13:     (chdir(d) == 0)         /* change directory */
  14: #undef EQUAL
  15: #define EQUAL(s1,s2) \
  16:     (strcmp(s1,s2) == 0)        /* string comparison */
  17: #undef MIN
  18: #define MIN(a,b) \
  19:     (((a) < (b)) ? (a) : (b))   /* minimum of two values */
  20: #undef MAX
  21: #define MAX(a,b) \
  22:     (((a) > (b)) ? (a) : (b))   /* maximum of two values */
  23: #undef WHITESPACE
  24: #define WHITESPACE(c) \
  25:     (c == ' ' || c == '\t')     /* unseen space in a file */

Defined macros

CHDIR defined in line 12; used 1 times
  • in line 11
EQUAL defined in line 15; used 1 times
  • in line 14
MAX defined in line 21; used 1 times
  • in line 20
MIN defined in line 18; used 1 times
  • in line 17
WHITESPACE defined in line 24; used 1 times
  • in line 23
Last modified: 1985-07-03
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 737
Valid CSS Valid XHTML 1.0 Strict