Added comments to macros for ut_type field.

This commit is contained in:
Michael Kerrisk 2008-06-29 06:04:03 +00:00
parent 23c36287fb
commit 3e85e8b3c3
1 changed files with 14 additions and 10 deletions

View File

@ -55,16 +55,20 @@ around; details depend on the version of libc):
.sp .sp
/* Values for ut_type field, below */ /* Values for ut_type field, below */
#define UT_UNKNOWN 0 #define EMPTY 0 /* Record does not contain valid info
#define RUN_LVL 1 (formerly known as UT_UNKNOWN) */
#define BOOT_TIME 2 #define RUN_LVL 1 /* Change in system run-level (see
#define NEW_TIME 3 \fBinit\fP(8) */
#define OLD_TIME 4 #define BOOT_TIME 2 /* Time of system booy (in \fIut_tv\fP) */
#define INIT_PROCESS 5 #define NEW_TIME 3 /* Time after system clock change
#define LOGIN_PROCESS 6 (in \fIut_tv\fP) */
#define USER_PROCESS 7 #define OLD_TIME 4 /* Time before system clock change
#define DEAD_PROCESS 8 (in \fIut_tv\fP) */
#define ACCOUNTING 9 #define INIT_PROCESS 5 /* Process spawned by \fBinit\fP(8) */
#define LOGIN_PROCESS 6 /* Session leader process for user login */
#define USER_PROCESS 7 /* Normal process */
#define DEAD_PROCESS 8 /* Terminated process */
#define ACCOUNTING 9 /* Not implemented */
#define UT_LINESIZE 32 #define UT_LINESIZE 32
#define UT_NAMESIZE 32 #define UT_NAMESIZE 32