|
|
1.1 ! root 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 */ ! 23:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.