Document trailing slashing on path buildling paths
[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 *
269a7923 7 * @(#)utmp.h 5.10 (Berkeley) %G%
7a7b7bcb 8 */
1e1d4114 9
3a93c164
KB
10#define _PATH_UTMP "/var/run/utmp"
11#define _PATH_WTMP "/var/log/wtmp"
c620d3d6 12#define _PATH_LASTLOG "/var/log/lastlog"
2deafd40 13
f4aa90d9
KB
14#define UT_NAMESIZE 8
15#define UT_LINESIZE 8
16#define UT_HOSTSIZE 16
c620d3d6
KB
17
18struct lastlog {
19 time_t ll_time;
20 char ll_line[UT_LINESIZE];
21 char ll_host[UT_HOSTSIZE];
22};
23
7a7b7bcb 24struct utmp {
619513f7
KB
25 char ut_line[UT_LINESIZE];
26 char ut_name[UT_NAMESIZE];
f4aa90d9 27 char ut_host[UT_HOSTSIZE];
daa9176e 28 long ut_time;
7a7b7bcb 29};