Back to index

glibc  2.9
Classes | Defines
utmpx.h File Reference
#include <bits/types.h>
#include <sys/time.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  utmpx

Defines

#define __UT_LINESIZE   12
#define __UT_NAMESIZE   8
#define __UT_HOSTSIZE   16
#define EMPTY   0 /* No valid user accounting information. */
#define RUN_LVL   1 /* The system's runlevel. */
#define BOOT_TIME   2 /* Time of system boot. */
#define NEW_TIME   3 /* Time after system clock changed. */
#define OLD_TIME   4 /* Time when system clock changed. */
#define INIT_PROCESS   5 /* Process spawned by the init process. */
#define LOGIN_PROCESS   6 /* Session leader of a logged in user. */
#define USER_PROCESS   7 /* Normal process. */
#define DEAD_PROCESS   8 /* Terminated process. */
#define _HAVE_UT_TYPE   1
#define _HAVE_UT_PID   1
#define _HAVE_UT_ID   1
#define _HAVE_UT_TV   1
#define _HAVE_UT_HOST   1

Class Documentation

struct utmpx

Definition at line 41 of file utmpx.h.

Class Members
char __unused
__int32_t ut_addr_v6
char ut_host
char ut_id
char ut_line
__pid_t ut_pid
long int ut_session
short int ut_type
char ut_user

Define Documentation

#define __UT_HOSTSIZE   16

Definition at line 37 of file utmpx.h.

#define __UT_LINESIZE   12

Definition at line 35 of file utmpx.h.

#define __UT_NAMESIZE   8

Definition at line 36 of file utmpx.h.

#define _HAVE_UT_HOST   1

Definition at line 74 of file utmpx.h.

#define _HAVE_UT_ID   1

Definition at line 72 of file utmpx.h.

#define _HAVE_UT_PID   1

Definition at line 71 of file utmpx.h.

#define _HAVE_UT_TV   1

Definition at line 73 of file utmpx.h.

#define _HAVE_UT_TYPE   1

Definition at line 70 of file utmpx.h.

#define BOOT_TIME   2 /* Time of system boot. */

Definition at line 57 of file utmpx.h.

#define DEAD_PROCESS   8 /* Terminated process. */

Definition at line 64 of file utmpx.h.

#define EMPTY   0 /* No valid user accounting information. */

Definition at line 54 of file utmpx.h.

#define INIT_PROCESS   5 /* Process spawned by the init process. */

Definition at line 61 of file utmpx.h.

#define LOGIN_PROCESS   6 /* Session leader of a logged in user. */

Definition at line 62 of file utmpx.h.

#define NEW_TIME   3 /* Time after system clock changed. */

Definition at line 58 of file utmpx.h.

#define OLD_TIME   4 /* Time when system clock changed. */

Definition at line 59 of file utmpx.h.

#define RUN_LVL   1 /* The system's runlevel. */

Definition at line 56 of file utmpx.h.

#define USER_PROCESS   7 /* Normal process. */

Definition at line 63 of file utmpx.h.