Back to index

glibc  2.9
Classes | Defines | Typedefs | Enumerations | Functions
acct.h File Reference
#include <features.h>
#include <endian.h>
#include <time.h>
#include <sys/types.h>

Go to the source code of this file.


struct  acct
struct  acct_v3


#define __need_time_t
#define ACCT_COMM   16
#define ACCT_BYTEORDER   0x80 /* Accounting file is big endian. */
#define AHZ   100


typedef u_int16_t comp_t


enum  { AFORK = 0x01, ASU = 0x02, ACORE = 0x08, AXSIG = 0x10 }


int acct (__const char *__filename) __THROW

Class Documentation

struct acct

Definition at line 32 of file acct.h.

Class Members
time_t ac_btime
u_int32_t ac_btime
char ac_comm
time_t ac_etime
comp_t ac_etime
long int ac_exitcode
u_int32_t ac_exitcode
char ac_flag
unsigned int ac_gid
u_int16_t ac_gid
comp_t ac_io
long int ac_majflt
comp_t ac_majflt
comp_t ac_mem
long int ac_minflt
comp_t ac_minflt
char ac_pad
comp_t ac_rw
time_t ac_stime
comp_t ac_stime
comp_t ac_swaps
unsigned int ac_tty
u_int16_t ac_tty
unsigned int ac_uid
u_int16_t ac_uid
time_t ac_utime
comp_t ac_utime
struct acct_v3

Definition at line 63 of file acct.h.

Class Members
u_int32_t ac_btime
char ac_comm
float ac_etime
u_int32_t ac_exitcode
char ac_flag
u_int32_t ac_gid
comp_t ac_io
comp_t ac_majflt
comp_t ac_mem
comp_t ac_minflt
u_int32_t ac_pid
u_int32_t ac_ppid
comp_t ac_rw
comp_t ac_stime
comp_t ac_swaps
u_int16_t ac_tty
u_int32_t ac_uid
comp_t ac_utime
char ac_version

Define Documentation

#define __need_time_t

Definition at line 25 of file acct.h.

#define ACCT_BYTEORDER   0x80 /* Accounting file is big endian. */

Definition at line 96 of file acct.h.

#define ACCT_COMM   16

Definition at line 31 of file acct.h.

#define AHZ   100

Definition at line 101 of file acct.h.

Typedef Documentation

typedef u_int16_t comp_t

Definition at line 39 of file acct.h.

Enumeration Type Documentation

anonymous enum

Definition at line 87 of file acct.h.

    AFORK = 0x01,           /* Has executed fork, but no exec.  */
    ASU = 0x02,                    /* Used super-user privileges.  */
    ACORE = 0x08,           /* Dumped core.  */
    AXSIG = 0x10            /* Killed by a signal.  */

Function Documentation

int acct ( __const char *  __filename)