/src/sys/arch/m68k/fpsp/ |
L_ENTRY.AWK | 57 utmp = 100 69 utmp += 1 70 printf "sed 's/_TMP_/" PREFIX utmp "/g'\n " 78 utmp += 1 79 printf "sed 's/_TMP_/" PREFIX utmp "/g'\n"
|
/src/lib/libc/gen/ |
utmp.c | 1 /* $NetBSD: utmp.c,v 1.10 2011/10/15 23:00:02 christos Exp $ */ 34 __RCSID("$NetBSD: utmp.c,v 1.10 2011/10/15 23:00:02 christos Exp $"); 43 #include <utmp.h> 46 static struct utmp utmp; variable in typeref:struct:utmp 58 struct utmp * 69 * If we have a an old version utmp file bail. 71 numentries = st.st_size / sizeof(utmp); 72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size) 75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1 [all...] |
/src/lib/libutil/ |
login.c | 50 #include <utmp.h> 53 login(const struct utmp *ut) 62 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); 63 (void)write(fd, ut, sizeof(struct utmp)); 67 (void)write(fd, ut, sizeof(struct utmp));
|
logwtmp.c | 50 #include <utmp.h> 56 struct utmp ut; 71 if (write(fd, &ut, sizeof(struct utmp)) != sizeof(struct utmp))
|
loginx.c | 46 #include <utmp.h>
|
logout.c | 51 #include <utmp.h> 57 struct utmp ut;
|
logoutx.c | 52 #include <utmp.h>
|
/src/lib/libc/compat/gen/ |
compat_utmp.c | 46 #include <utmp.h> 47 #include <compat/include/utmp.h> 50 "warning: reference to compatibility getutent(); include <utmp.h> for correct reference") 53 cvt(struct utmp *ut)
|
/src/lib/libc/compat/include/ |
utmp.h | 1 /* $NetBSD: utmp.h,v 1.2 2009/01/11 02:46:25 christos Exp $ */ 36 * @(#)utmp.h 8.2 (Berkeley) 1/21/94 51 utmp_to_utmp50(const struct utmp *ut, struct utmp50 *ut50) 58 utmp50_to_utmp(const struct utmp50 *ut50, struct utmp *ut) 65 struct utmp *__getutent50(void);
|
utmpx.h | 88 struct utmp; 89 void getutmp(const struct utmpx50 *, struct utmp *); 90 void __getutmp50(const struct utmpx *, struct utmp *); 91 void getutmpx(const struct utmp *, struct utmpx50 *); 92 void __getutmpx50(const struct utmp *, struct utmpx *);
|
/src/lib/libutil/compat/ |
compat_login.c | 53 #include <utmp.h> 54 #include <compat/include/utmp.h> 64 struct utmp ut; 70 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET);
|
util.h | 43 struct utmp; 58 void __login50(const struct utmp *);
|
compat_logoutx.c | 52 #include <utmp.h>
|
/src/include/ |
utmp.h | 1 /* $NetBSD: utmp.h,v 1.13 2016/01/22 23:59:44 dholland Exp $ */ 36 * @(#)utmp.h 8.2 (Berkeley) 1/21/94 45 #define _PATH_UTMP "/var/run/utmp" 59 struct utmp { struct 70 struct utmp *getutent(void) __RENAME(__getutent50);
|
utmpx.h | 148 struct utmp; 149 void getutmp(const struct utmpx *, struct utmp *) __RENAME(__getutmp50); 150 void getutmpx(const struct utmp *, struct utmpx *) __RENAME(__getutmpx50);
|
/src/distrib/utils/libhack/ |
utmp.c | 1 /* $NetBSD: utmp.c,v 1.5 2003/07/26 17:07:37 salo Exp $ */ 10 #include <utmp.h> 15 const struct utmp *ut;
|
/src/etc/ |
newsyslog.conf | 14 /var/log/wtmp root:utmp 664 7 * 168 ZBN 15 /var/log/wtmpx root:utmp 664 7 * 168 ZBN
|
/src/etc/rc.d/ |
sysdb | 16 extra_commands="devdb utmp services netgroup password" 77 # Re-create /var/run/utmp and /var/run/utmpx, which are 84 if ! [ -f /var/run/utmp$i ]; then 85 $echo -n "${comma}utmp$i" 87 install -c -m 664 -g utmp /dev/null /var/run/utmp$i
|
/src/lib/libpam/modules/pam_lastlog/ |
pam_lastlog.c | 78 #include <utmp.h> 240 logit(LOG_NOTICE, "%s(): no utmp record for %s", 338 struct utmp utmp; local in function:doutmp 340 (void)memset((void *)&utmp, 0, sizeof(utmp)); 341 utmp.ut_time = now->tv_sec; 342 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); 344 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host)) [all...] |
/src/usr.bin/login/ |
common.c | 61 #include <utmp.h> 302 struct utmp utmp; local in function:doutmp 304 (void)memset((void *)&utmp, 0, sizeof(utmp)); 305 utmp.ut_time = now.tv_sec; 306 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); 308 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host)) [all...] |
/src/libexec/ftpd/ |
logutmp.c | 71 #include <utmp.h> 80 typedef struct utmp UTMP; 86 * Special versions of login()/logout() which hold the utmp file open, 91 ftpd_login(const struct utmp *ut) 93 UTMP ubuf; 111 (void)lseek(fd, (off_t)(topslot * sizeof(UTMP)), SEEK_SET); 114 if (read(fd, &ubuf, sizeof(UTMP)) == sizeof(UTMP)) { 116 (void)lseek(fd, -(off_t)sizeof(UTMP), SEEK_CUR) [all...] |
logwtmp.c | 57 #include <utmp.h> 89 struct utmp ut; 99 if (write(fd, (char *)&ut, sizeof(struct utmp)) != 100 sizeof(struct utmp))
|
/src/share/man/man5/ |
Makefile | 19 utmp.5 utmpx.5 veriexec.5 weekly.5 wscons.conf.5 27 MLINKS+=utmp.5 wtmp.5 utmp.5 lastlog.5 passwd.5 master.passwd.5
|
/src/usr.bin/who/ |
utmpentry.h | 38 # include <utmp.h> 66 * alternate utmp(x) file to look in. 70 * utmp hasn't changed in the meantime.
|
/src/bin/ed/ |
undo.c | 73 undo_t utmp; \ 74 utmp = x, x = y, y = utmp; \
|