Annotation of 43BSDTahoe/new/spms/include/macro.h, revision 1.1

1.1     ! root        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 */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.