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
EQUAL
defined in line
15; used 1 times
MAX
defined in line
21; used 1 times
MIN
defined in line
18; used 1 times