document w (wildcard MX) and k (checkpoint interval) options
[unix-history] / usr / src / include / utmp.h
... / ...
CommitLineData
1/*
2 * Copyright (c) 1988 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
7 * @(#)utmp.h 5.11 (Berkeley) %G%
8 */
9
10#ifndef _UTMP_H_
11#define _UTMP_H_
12
13#define _PATH_UTMP "/var/run/utmp"
14#define _PATH_WTMP "/var/log/wtmp"
15#define _PATH_LASTLOG "/var/log/lastlog"
16
17#define UT_NAMESIZE 8
18#define UT_LINESIZE 8
19#define UT_HOSTSIZE 16
20
21struct lastlog {
22 time_t ll_time;
23 char ll_line[UT_LINESIZE];
24 char ll_host[UT_HOSTSIZE];
25};
26
27struct utmp {
28 char ut_line[UT_LINESIZE];
29 char ut_name[UT_NAMESIZE];
30 char ut_host[UT_HOSTSIZE];
31 long ut_time;
32};
33
34#endif /* !_UTMP_H_ */