OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [acct.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef __LINUX_ACCT_H
2
#define __LINUX_ACCT_H
3
 
4
#define ACCT_COMM 16
5
 
6
struct acct
7
{
8
        char    ac_comm[ACCT_COMM];     /* Accounting command name */
9
        time_t  ac_utime;               /* Accounting user time */
10
        time_t  ac_stime;               /* Accounting system time */
11
        time_t  ac_etime;               /* Accounting elapsed time */
12
        time_t  ac_btime;               /* Beginning time */
13
        uid_t   ac_uid;                 /* Accounting user ID */
14
        gid_t   ac_gid;                 /* Accounting group ID */
15
        dev_t   ac_tty;                 /* controlling tty */
16
        char    ac_flag;                /* Accounting flag */
17
        long    ac_minflt;              /* Accounting minor pagefaults */
18
        long    ac_majflt;              /* Accounting major pagefaults */
19
        long    ac_exitcode;            /* Accounting process exitcode */
20
};
21
 
22
#define AFORK   0001    /* has executed fork, but no exec */
23
#define ASU     0002    /* used super-user privileges */
24
#define ACORE   0004    /* dumped core */
25
#define AXSIG   0010    /* killed by a signal */
26
 
27
#define AHZ     100
28
 
29
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.