1: /*
2: * %G% hack (aps) %W%
3: *
4: * Defines for hack.
5: * aps.
6: */
7:
8: #include <stdio.h>
9: #include <utmp.h>
10: #include <pwd.h>
11: #include <X/Xlib.h>
12:
13: #define NOSTR ((char *) 0) /* Null string pointer */
14: #define LINESIZE BUFSIZ /* max from stdio.h */
15: #define YES 1 /* status return */
16: #define NO 0 /* status return */
17: #define UTMPNAMSIZ 8 /* utmp, who, login, ls, ... should be fixed */
18: #define NAMLEN 16 /* utmp unwisely uses 8 as length of name */
19:
20: #define DELAY(n) { register int N = (n); while (--N > 0); }
21: #define EVER ;;
22: #define equal(a, b) (strcmp(a,b)==0)/* A nice function to string compare */
Defined macros
DELAY
defined in line
20;
never used
EVER
defined in line
21; used 1 times
NO
defined in line
16; used 1 times
NOSTR
defined in line
13;
never used
YES
defined in line
15; used 1 times
equal
defined in line
22;
never used
Usage of this include