|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ T u
Length: 773 (0x305)
Types: TextFile
Notes: @(#)utmp.h 13.1 (RC International) 91/02/01 */
Names: »utmp.h«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦c6f24efe5⟧ »0007«
└─⟦this⟧ »comp3.0/bsd/usr/include/utmp.h«
/* @(#)utmp.h 13.1 (RC International) 91/02/01 */
#ifndef _UTMP_H
#define _UTMP_H
#define UTMP_FILE "/etc/utmp"
#define WTMP_FILE "/usr/adm/wtmp"
/*
* Structure of utmp and wtmp files.
*/
#include <sys/types.h>
struct utmp
{
char ut_name[9]; /* user login name */
char ut_id[4]; /* /etc/inittab id; usually line no */
char ut_line[14]; /* tty or device name */
char ut_termname[11]; /* physical terminal name (from lan) */
long ut_pid; /* process id */
short ut_type; /* type of entry */
char ut_host[32]; /* host name, if remote */
short ut_pu; /* pu number of login */
struct exit_status
{
short e_termination;
short e_exit;
}
ut_exit; /* exit status of a dead process */
time_t ut_time; /* time on */
};
#endif /* _UTMP_H */