1: /*
2: * Copyright (c) 1988 The Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that the above copyright notice and this paragraph are
7: * duplicated in all such forms and that any documentation,
8: * advertising materials, and other materials related to such
9: * distribution and use acknowledge that the software was developed
10: * by the University of California, Berkeley. The name of the
11: * University may not be used to endorse or promote products derived
12: * from this software without specific prior written permission.
13: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14: * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15: * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16: *
17: * @(#)utmp.h 5.6.1 (2.11BSD) 1996/11/27
18: */
19:
20: #define _PATH_UTMP "/var/run/utmp"
21: #define _PATH_WTMP "/usr/adm/wtmp"
22:
23: #define UT_NAMESIZE 15
24: #define UT_LINESIZE 8
25: #define UT_HOSTSIZE 16
26: struct utmp {
27: char ut_line[UT_LINESIZE];
28: char ut_name[UT_NAMESIZE];
29: char ut_host[UT_HOSTSIZE];
30: long ut_time;
31: };
Defined struct's
utmp
defined in line
26; used 156 times
- in /usr/src/bin/date.c line
41(2)
- in /usr/src/bin/login/login.c line
359(2)
- in /usr/src/bin/ls/ls.c line
650(2)
- in /usr/src/bin/tcsh/tc.who.c line
63(2),
158(2)
- in /usr/src/bin/wall.c line
36(2),
51(2),
64-67(4)
- in /usr/src/bin/who.c line
28(2)
- in /usr/src/bin/write.c line
23(2)
- in /usr/src/games/phantasia/main.c line
563(2)
- in /usr/src/lib/libc/net/ruserpass.c line
22(2),
714-717(4),
750(2)
- in /usr/src/libexec/comsat/comsat.c line
50(2),
124-128(6),
135(2),
142(2),
158(2)
- in /usr/src/libexec/ftpd/logwtmp.c line
43(2),
55-56(4)
- in /usr/src/libexec/talkd/process.c line
153(2)
- in /usr/src/libexec/telnetd/telnetd.c line
1231(2),
1241(2),
1248-1253(4)
- in /usr/src/old/dump/dumpoptr.c line
122(2),
148(2)
- in /usr/src/sbin/dump/dumpoptr.c line
126(2),
152(2)
- in /usr/src/sbin/init/init.c line
38(2),
557-558(4),
566-570(6),
576(2)
- in /usr/src/sbin/reboot/reboot.c line
168(2)
- in /usr/src/sbin/shutdown/shutdown.c line
54(2)
- in /usr/src/ucb/PORT/systat/vmstat.c line
55(2)
- in /usr/src/ucb/finger/finger.c line
121(2),
151(2)
- in /usr/src/ucb/finger/util.c line
174(2)
- in /usr/src/ucb/ftp/ruserpass.c line
34(2)
- in /usr/src/ucb/last.c line
41(2),
57(2),
200(2)
- in /usr/src/ucb/lastcomm.c line
148(2)
- in /usr/src/ucb/users.c line
25(2)
- in /usr/src/ucb/w.c line
70(2)
- in /usr/src/usr.bin/find/find.c line
935(2)
- in /usr/src/usr.bin/uucp/acucntrl.c line
129(2),
217-220(4),
362(2)
- in /usr/src/usr.bin/uucp/uucpd.c line
234(2)
- in /usr/src/usr.lib/libutil/login.c line
30(2),
38-43(6)
- in /usr/src/usr.lib/libutil/logout.c line
27(2)
- in /usr/src/usr.lib/libutil/logwtmp.c line
32(2),
45-46(4)
- in /usr/src/usr.sbin/ac/ac.c line
23(2)
- in /usr/src/usr.sbin/rwhod/rwhod.c line
234(2),
254-258(6),
272(2)
- in /usr/src/usr.sbin/sa/sa.c line
53(2)
- in /usr/src/usr.sbin/syslogd/syslogd.c line
641(2)
- in /usr/src/usr.sbin/timed/master.c line
535(2)
Defined macros
Usage of this include