Back to index

glibc  2.9
Classes | Defines | Enumerations | Functions
acct.h File Reference
#include <features.h>
#include <time.h>

Go to the source code of this file.

Classes

struct  acct

Defines

#define __need_time_t
#define ACCT_COMM   16
#define AHZ   100

Enumerations

enum  { AFORK = 0001, ASU = 0002, ACORE = 0004, AXSIG = 0010 }

Functions

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

Define Documentation

#define __need_time_t

Definition at line 24 of file acct.h.

#define ACCT_COMM   16

Definition at line 30 of file acct.h.

#define AHZ   100

Definition at line 58 of file acct.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
AFORK 
ASU 
ACORE 
AXSIG 

Definition at line 50 of file acct.h.

  {
    AFORK = 0001,           /* Has executed fork, but no exec.  */
    ASU = 0002,                    /* Used super-user privileges.  */
    ACORE = 0004,           /* Dumped core.  */
    AXSIG = 0010            /* Killed by a signal.  */
  };

Function Documentation

int acct ( __const char *  __filename)