Commit | Line | Data |
---|---|---|
bb0cfa24 DF |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
6 | * @(#)utmp.h 5.1 (Berkeley) %G% | |
7 | */ | |
7a7b7bcb SL |
8 | |
9 | /* | |
10 | * Structure of utmp and wtmp files. | |
11 | * | |
12 | * Assuming the number 8 is unwise. | |
13 | */ | |
14 | struct utmp { | |
15 | char ut_line[8]; /* tty name */ | |
16 | char ut_name[8]; /* user id */ | |
5f02dda5 | 17 | char ut_host[16]; /* host name, if remote */ |
7a7b7bcb SL |
18 | long ut_time; /* time on */ |
19 | }; |