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
LINESIZE defined in line 14; never used
NAMLEN defined in line 18; used 3 times
NO defined in line 16; used 1 times
NOSTR defined in line 13; never used
UTMPNAMSIZ defined in line 17; used 1 times
YES defined in line 15; used 1 times
equal defined in line 22; never used

Usage of this include

Last modified: 1985-10-22
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 955
Valid CSS Valid XHTML 1.0 Strict