DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T u

⟦b897a4ed4⟧ TextFile

    Length: 773 (0x305)
    Types: TextFile
    Notes: @(#)utmp.h 13.2 (RC International) 91/07/24  */
    Names: »utmp.h«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/include/utmp.h« 

TextFile

/*	@(#)utmp.h	13.2 (RC International) 91/07/24 	*/

#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 */