mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
45ec232d31
commit
4a36e281c9
10
man5/utmp.5
10
man5/utmp.5
|
@ -69,21 +69,21 @@ around; details depend on the version of libc):
|
||||||
#define UT_HOSTSIZE 256
|
#define UT_HOSTSIZE 256
|
||||||
|
|
||||||
struct exit_status {
|
struct exit_status {
|
||||||
short int e_termination; /* process termination status */
|
short int e_termination; /* Process termination status */
|
||||||
short int e_exit; /* process exit status */
|
short int e_exit; /* Process exit status */
|
||||||
};
|
};
|
||||||
|
|
||||||
struct utmp {
|
struct utmp {
|
||||||
short ut_type; /* Type of record */
|
short ut_type; /* Type of record */
|
||||||
pid_t ut_pid; /* PID of login process */
|
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,
|
char ut_id[4]; /* Terminal name suffix,
|
||||||
or inittab(5) ID */
|
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
|
char ut_host[UT_HOSTSIZE]; /* Hostname for remote login, or
|
||||||
kernel version for run-level
|
kernel version for run-level
|
||||||
messages */
|
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
|
marked as DEAD_PROCESS; not
|
||||||
used by Linux init(8) */
|
used by Linux init(8) */
|
||||||
/* The ut_session and ut_tv fields must be the same size when
|
/* The ut_session and ut_tv fields must be the same size when
|
||||||
|
|
Loading…
Reference in New Issue