|
|
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 ACCT_H
11:
12: #include <sys/types.h>
13:
14: struct acct {
15: char ac_comm[10]; /* Command name */
16: comp_t ac_utime; /* User time */
17: comp_t ac_stime; /* System time */
18: comp_t ac_etime; /* Elapsed time */
19: time_t ac_btime; /* Beginning time of process */
20: short ac_uid; /* User id */
21: short ac_gid; /* Group id */
22: short ac_mem; /* Average memory usage */
23: comp_t ac_io; /* Number of disk I/O blocks */
24: dev_t ac_tty; /* Control typewriter */
25: char ac_flag; /* Accounting flag */
26: };
27:
28: /*
29: * Flags (ac_flag).
30: */
31: #define AFORK 01 /* Execute fork, but not exec */
32: #define ASU 02 /* Used super user privileges */
33:
34: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.