Symbol: utmp
bin/ed/undo.c
73
undo_t utmp; \
bin/ed/undo.c
74
utmp = x, x = y, y = utmp; \
distrib/utils/libhack/utmp.c
15
const struct utmp *ut;
include/util.h
78
struct utmp;
include/util.h
98
void login(const struct utmp *) __RENAME(__login50);
include/utmp.h
70
struct utmp *getutent(void) __RENAME(__getutent50);
include/utmpx.h
148
struct utmp;
include/utmpx.h
149
void getutmp(const struct utmpx *, struct utmp *) __RENAME(__getutmp50);
include/utmpx.h
150
void getutmpx(const struct utmp *, struct utmpx *) __RENAME(__getutmpx50);
lib/libc/compat/gen/compat_utmp.c
53
cvt(struct utmp *ut)
lib/libc/compat/gen/compat_utmpx.c
181
getutmp(const struct utmpx50 *utx50, struct utmp *ut)
lib/libc/compat/gen/compat_utmpx.c
189
getutmpx(const struct utmp *ut, struct utmpx50 *utx50)
lib/libc/compat/include/utmp.h
51
utmp_to_utmp50(const struct utmp *ut, struct utmp50 *ut50)
lib/libc/compat/include/utmp.h
58
utmp50_to_utmp(const struct utmp50 *ut50, struct utmp *ut)
lib/libc/compat/include/utmp.h
65
struct utmp *__getutent50(void);
lib/libc/compat/include/utmpx.h
88
struct utmp;
lib/libc/compat/include/utmpx.h
89
void getutmp(const struct utmpx50 *, struct utmp *);
lib/libc/compat/include/utmpx.h
90
void __getutmp50(const struct utmpx *, struct utmp *);
lib/libc/compat/include/utmpx.h
91
void getutmpx(const struct utmp *, struct utmpx50 *);
lib/libc/compat/include/utmpx.h
92
void __getutmpx50(const struct utmp *, struct utmpx *);
lib/libc/gen/utmp.c
46
static struct utmp utmp;
lib/libc/gen/utmp.c
58
struct utmp *
lib/libc/gen/utmp.c
71
numentries = st.st_size / sizeof(utmp);
lib/libc/gen/utmp.c
72
if ((off_t)(numentries * sizeof(utmp)) != st.st_size)
lib/libc/gen/utmp.c
75
if (fread(&utmp, sizeof(utmp), 1, ut) == 1)
lib/libc/gen/utmp.c
76
return &utmp;
lib/libc/gen/utmpx.c
394
getutmp(const struct utmpx *ux, struct utmp *u)
lib/libc/gen/utmpx.c
407
getutmpx(const struct utmp *u, struct utmpx *ux)
lib/libpam/modules/pam_lastlog/pam_lastlog.c
338
struct utmp utmp;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
340
(void)memset((void *)&utmp, 0, sizeof(utmp));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
341
utmp.ut_time = now->tv_sec;
lib/libpam/modules/pam_lastlog/pam_lastlog.c
342
(void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
344
(void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
345
(void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
346
login(&utmp);
lib/libutil/compat/compat_login.c
64
struct utmp ut;
lib/libutil/compat/compat_login.c
70
(void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
lib/libutil/compat/util.h
43
struct utmp;
lib/libutil/compat/util.h
58
void __login50(const struct utmp *);
lib/libutil/login.c
53
login(const struct utmp *ut)
lib/libutil/login.c
62
(void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
lib/libutil/login.c
63
(void)write(fd, ut, sizeof(struct utmp));
lib/libutil/login.c
67
(void)write(fd, ut, sizeof(struct utmp));
lib/libutil/logout.c
57
struct utmp ut;
lib/libutil/logwtmp.c
56
struct utmp ut;
lib/libutil/logwtmp.c
71
if (write(fd, &ut, sizeof(struct utmp)) != sizeof(struct utmp))
libexec/comsat/comsat.c
182
nutmp = getutentries(NULL, &utmp);
libexec/comsat/comsat.c
214
for (ep = utmp; ep != NULL; ep = ep->next)
libexec/comsat/comsat.c
86
static struct utmpentry *utmp = NULL;
libexec/ftpd/extern.h
172
struct utmp;
libexec/ftpd/extern.h
176
void ftpd_login(const struct utmp *);
libexec/ftpd/ftpd.c
1245
(void)memset(&utmp, 0, sizeof(utmp));
libexec/ftpd/ftpd.c
1246
(void)time(&utmp.ut_time);
libexec/ftpd/ftpd.c
1247
(void)strncpy(utmp.ut_name, name, sizeof(utmp.ut_name));
libexec/ftpd/ftpd.c
1248
(void)strncpy(utmp.ut_line, line, sizeof(utmp.ut_line));
libexec/ftpd/ftpd.c
1249
(void)strncpy(utmp.ut_host, host, sizeof(utmp.ut_host));
libexec/ftpd/ftpd.c
1250
ftpd_login(&utmp);
libexec/ftpd/ftpd.c
203
static struct utmp utmp; /* for utmp */
libexec/ftpd/logutmp.c
80
typedef struct utmp UTMP;
libexec/ftpd/logutmp.c
91
ftpd_login(const struct utmp *ut)
libexec/ftpd/logwtmp.c
100
sizeof(struct utmp))
libexec/ftpd/logwtmp.c
89
struct utmp ut;
libexec/ftpd/logwtmp.c
99
if (write(fd, (char *)&ut, sizeof(struct utmp)) !=
usr.bin/last/want.c
268
want(struct utmp *bp, int check)
usr.bin/last/want.c
31
static struct utmp *buf;
usr.bin/last/want.c
35
static int want(struct utmp *, int);
usr.bin/last/want.c
36
static const char *gethost(struct utmp *, const char *, int);
usr.bin/last/want.c
40
gethost(struct utmp *ut, const char *host, int numeric)
usr.bin/last/want.c
70
struct utmp *bp; /* current structure */
usr.bin/login/common.c
302
struct utmp utmp;
usr.bin/login/common.c
304
(void)memset((void *)&utmp, 0, sizeof(utmp));
usr.bin/login/common.c
305
utmp.ut_time = now.tv_sec;
usr.bin/login/common.c
306
(void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
usr.bin/login/common.c
308
(void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host));
usr.bin/login/common.c
309
(void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line));
usr.bin/login/common.c
310
login(&utmp);
usr.bin/w/w.c
143
struct utmp *ut;
usr.bin/who/utmpentry.c
181
struct utmp *ut;
usr.bin/who/utmpentry.c
267
getentry(struct utmpentry *e, struct utmp *up)
usr.bin/who/utmpentry.c
60
static void getentry(struct utmpentry *, struct utmp *);
usr.sbin/ac/ac.c
105
static struct utmp_list *log_in(struct utmp_list *, struct utmp *);
usr.sbin/ac/ac.c
106
static struct utmp_list *log_out(struct utmp_list *, struct utmp *);
usr.sbin/ac/ac.c
386
log_out(struct utmp_list *head, struct utmp *up)
usr.sbin/ac/ac.c
426
log_in(struct utmp_list *head, struct utmp *up)
usr.sbin/ac/ac.c
445
memmove((char *)&lp->usr, (char *)up, sizeof (struct utmp));
usr.sbin/ac/ac.c
463
struct utmp usr;
usr.sbin/ac/ac.c
53
struct utmp usr;