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) 5/30/85
7: */
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 */
17: char ut_host[16]; /* host name, if remote */
18: long ut_time; /* time on */
19: };
Defined struct's
utmp
defined in line
14; used 200 times
- in /usr/src/bin/date.c line
42(2)
- in /usr/src/bin/login.c line
59(2),
396(2)
- in /usr/src/bin/ls.c line
609(2)
- in /usr/src/bin/ps.c line
1424(2)
- in /usr/src/bin/wall.c line
38(2),
53(2),
66-69(4)
- in /usr/src/bin/who.c line
30(2)
- in /usr/src/bin/write.c line
21(2)
- in /usr/src/etc/ac.c line
23(2)
- in /usr/src/etc/comsat.c line
43(2),
122-126(6),
133(2),
141(2),
164(2)
- in /usr/src/etc/dump.4.1/dumpoptr.c line
142(2),
170(2)
- in /usr/src/etc/dump/dumpoptr.c line
142(2),
170(2)
- in /usr/src/etc/ftpd/ftpd.c line
769(2)
- in /usr/src/etc/halt.c line
126(2)
- in /usr/src/etc/init.c line
36(2),
430-431(4),
439-443(6),
449(2)
- in /usr/src/etc/quot.c line
342(2)
- in /usr/src/etc/reboot.c line
124(2)
- in /usr/src/etc/rlogind.c line
356(2),
366(2),
373-378(4)
- in /usr/src/etc/rwhod.c line
251(2),
271-275(6),
289(2)
- in /usr/src/etc/sa.c line
54(2)
- in /usr/src/etc/shutdown.c line
60(2)
- in /usr/src/etc/syslogd.c line
619(2)
- in /usr/src/etc/talkd/process.c line
153(2)
- in /usr/src/etc/telnetd.c line
1217(2),
1227(2),
1234-1239(4)
- in /usr/src/etc/timed/master.c line
535(2)
- in /usr/src/games/rogue/machdep.c line
360-364(4)
- in /usr/src/lib/libc/gen/getlogin.c line
8(2)
- in /usr/src/lib/libc/net/ruserpass.c line
19(2),
711-714(4),
747(2)
- in /usr/src/new/X/comsat/comsat.c line
54(2),
121(2),
132(2),
140(2),
162(2)
- in /usr/src/new/X/xterm/main.c line
1240(2)
- in /usr/src/new/mh/uip/rcvtty.c line
48(2)
- in /usr/src/new/mh/uip/slocal.c line
743(2)
- in /usr/src/new/xns/examples/gap/gap2d.c line
639(2)
- in /usr/src/new/xns/examples/gap/gaptelnetd.c line
695(2)
- in /usr/src/old/berknet/environ.c line
76(2)
- in /usr/src/old/berknet/mach.c line
200(2),
212(2),
406(2)
- in /usr/src/old/berknet/mach.h line
473(2)
- in /usr/src/old/berknet/mwrite.c line
47(2)
- in /usr/src/old/berknet/net.c line
60(2)
- in /usr/src/old/talk/process.c line
122(2)
- in /usr/src/ucb/finger.c line
76(2)
- in /usr/src/ucb/ftp/ruserpass.c line
31(2)
- in /usr/src/ucb/last.c line
41(2),
54(2),
180(2)
- in /usr/src/ucb/lastcomm.c line
134(2)
- in /usr/src/ucb/leave.c line
192(2)
- in /usr/src/ucb/sysline/sysline.c line
142(2),
491-497(10),
637(2)
- in /usr/src/ucb/systat/vmstat.c line
55(2)
- in /usr/src/ucb/users.c line
28(2)
- in /usr/src/ucb/w.c line
120(2)
- in /usr/src/usr.bin/find/find.c line
939(2)
- in /usr/src/usr.bin/uucp/acucntrl.c line
123(2),
213-216(4),
358(2)
- in /usr/src/usr.bin/uucp/uucpd.c line
233(2)
Usage of this include