1: /*
   2:  * Accounting structures
   3:  */
   4: 
   5: typedef unsigned short comp_t;  /* "floating pt": 3 bits base 8 exp, 13 bits fraction */
   6: struct  acct
   7: {
   8:     char    ac_comm[10];        /* Accounting command name */
   9:     comp_t  ac_utime;       /* Accounting user time */
  10:     comp_t  ac_stime;       /* Accounting system time */
  11:     comp_t  ac_etime;       /* Accounting elapsed time */
  12:     time_t  ac_btime;       /* Beginning time */
  13:     short   ac_uid;         /* Accounting user ID */
  14:     short   ac_gid;         /* Accounting group ID */
  15:     short   ac_mem;         /* average memory usage */
  16:     comp_t  ac_io;          /* number of disk IO blocks */
  17:     dev_t   ac_tty;         /* control typewriter */
  18:     char    ac_flag;        /* Accounting flag */
  19: };
  20: 
  21: extern  struct  acct    acctbuf;
  22: extern  struct  inode   *acctp;     /* inode of accounting file */
  23: 
  24: #define AFORK   01      /* has executed fork, but no exec */
  25: #define ASU 02      /* used super-user privileges */

Defined struct's

acct defined in line 6; used 8 times

Defined typedef's

comp_t defined in line 5; used 4 times
  • in line 9-16(4)

Defined macros

AFORK defined in line 24; used 3 times
ASU defined in line 25; used 1 times

Usage of this include

Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 527
Valid CSS Valid XHTML 1.0 Strict