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