Annotation of coherent/f/usr/include.78/acct.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 3.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Accounting structure.
                      8:  */
                      9: #ifndef         __ACCT_H__
                     10: #define         __ACCT_H__
                     11: 
                     12: #include <sys/types.h>
                     13: #include <sys/_time.h>
                     14: 
                     15: typedef        unsigned short  comp_t;
                     16: 
                     17: 
                     18: struct acct {
                     19:        char    ac_comm[10];            /* Command name */
                     20:        comp_t  ac_utime;               /* User time */
                     21:        comp_t  ac_stime;               /* System time */
                     22:        comp_t  ac_etime;               /* Elapsed time */
                     23:        time_t  ac_btime;               /* Beginning time of process */
                     24:        short   ac_uid;                 /* User id */
                     25:        short   ac_gid;                 /* Group id */
                     26:        short   ac_mem;                 /* Average memory usage */
                     27:        comp_t  ac_io;                  /* Number of disk I/O blocks */
                     28:        dev_t   ac_tty;                 /* Control typewriter */
                     29:        char    ac_flag;                /* Accounting flag */
                     30: };
                     31: 
                     32: /*
                     33:  * Flags (ac_flag).
                     34:  */
                     35: #define AFORK  01                      /* Execute fork, but not exec */
                     36: #define ASU    02                      /* Used super user privileges */
                     37: 
                     38: #endif

unix.superglobalmegacorp.com

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