This commit is contained in:
Michael Kerrisk 2008-06-29 04:45:30 +00:00
parent 45ec232d31
commit 4a36e281c9
1 changed files with 5 additions and 5 deletions

View File

@ -69,21 +69,21 @@ around; details depend on the version of libc):
#define UT_HOSTSIZE 256
struct exit_status {
short int e_termination; /* process termination status */
short int e_exit; /* process exit status */
short int e_termination; /* Process termination status */
short int e_exit; /* Process exit status */
};
struct utmp {
short ut_type; /* Type of record */
pid_t ut_pid; /* PID of login process */
char ut_line[UT_LINESIZE]; /* device name of tty \- "/dev/" */
char ut_line[UT_LINESIZE]; /* Device name of tty \- "/dev/" */
char ut_id[4]; /* Terminal name suffix,
or inittab(5) ID */
char ut_user[UT_NAMESIZE]; /* username */
char ut_user[UT_NAMESIZE]; /* Username */
char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or
kernel version for run-level
messages */
struct exit_status ut_exit; /* Exit status of a process
struct exit_status ut_exit; /* Exit status of a process
marked as DEAD_PROCESS; not
used by Linux init(8) */
/* The ut_session and ut_tv fields must be the same size when