Searched refs:utmp (Results 1 - 25 of 84) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/sys/arch/m68k/fpsp/
H A DL_ENTRY.AWK57 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"
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/nslint-2.1a3/lbl/
H A Dos-irix5.h33 struct utmp;
35 void login(struct utmp *);
H A Dos-solaris2.h38 struct utmp;
39 void login(struct utmp *);
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dutmp.c52 #include <utmp.h>
62 struct utmp ut;
108 login_utmp(struct utmp *utmp, const char *username, const char *hostname, argument
111 (void)memset(utmp, 0, sizeof(*utmp));
112 utmp->ut_time = now->tv_sec;
113 (void)strncpy(utmp->ut_name, username, sizeof(utmp->ut_name));
115 (void)strncpy(utmp
121 logout_utmp(struct utmp *utmp, const struct timeval *now) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dutmp.c1 /* $NetBSD: utmp.c,v 1.9 2009/02/05 23:52:55 lukem Exp $ */
34 __RCSID("$NetBSD: utmp.c,v 1.9 2009/02/05 23:52:55 lukem 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, sizeo
[all...]
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dlogin.c50 #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));
H A Dlogwtmp.c50 #include <utmp.h>
56 struct utmp ut;
71 if (write(fd, &ut, sizeof(struct utmp)) != sizeof(struct utmp))
H A Dloginx.c46 #include <utmp.h>
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/asn1/
H A Dx_long.c108 unsigned long utmp; local
121 if(ltmp < 0) utmp = -ltmp - 1;
122 else utmp = ltmp;
123 clen = BN_num_bits_word(utmp);
134 cont[i] = (unsigned char)(utmp & 0xff);
136 utmp >>= 8;
147 unsigned long utmp = 0; local
156 utmp = 0;
158 utmp <<= 8;
159 if(neg) utmp |
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/
H A Dcompat_utmp.c46 #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)
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/
H A Dutmp.h1 /* $NetBSD: utmp.h,v 1.1.2.2 2008/12/28 01:18:38 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);
H A Dutmpx.h88 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 *);
/netbsd-6-1-5-RELEASE/lib/libutil/compat/
H A Dcompat_login.c53 #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);
H A Dcompat_loginx.c49 #include <utmp.h>
50 #include <compat/include/utmp.h>
H A Dutil.h38 #include <compat/include/utmp.h>
53 void __login50(const struct utmp *);
/netbsd-6-1-5-RELEASE/include/
H A Dutmp.h1 /* $NetBSD: utmp.h,v 1.11.36.1 2008/12/28 01:15:39 christos Exp $ */
36 * @(#)utmp.h 8.2 (Berkeley) 1/21/94
42 #define _PATH_UTMP "/var/run/utmp"
56 struct utmp { struct
67 struct utmp *getutent(void) __RENAME(__getutent50);
/netbsd-6-1-5-RELEASE/distrib/utils/libhack/
H A DMakefile.inc22 strerror.o strsignal.o syslog.o utmp.o yplib.o
47 utmp.o: ${HACKSRC}/utmp.c
H A Dutmp.c1 /* $NetBSD: utmp.c,v 1.4 2002/08/03 11:37:17 itojun Exp $ */
10 #include <utmp.h>
15 const struct utmp *ut;
/netbsd-6-1-5-RELEASE/etc/
H A Dnewsyslog.conf13 /var/log/wtmp root:utmp 664 7 * 168 ZBN
14 /var/log/wtmpx root:utmp 664 7 * 168 ZBN
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/utils/afmtodit/
H A Dafmtodit.pl6251 my $utmp = $AGL_to_unicode{$field[0]};
6252 if (defined $utmp && $utmp =~ /^[0-9A-F]{4}$/) {
6253 foreach my $unicodepsname ("uni" . $utmp, "u" . $utmp) {
6290 my $utmp = ""; # temporary value
6328 $utmp = $AGL_to_unicode{$component};
6329 if ($utmp) {
6330 $utmp = "U+" . $utmp;
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcsd/
H A Dplatform.c17 #include <utmp.h>
43 struct utmp ut, save, *next = NULL;
49 memset(&ut, 0, sizeof(struct utmp));
50 memset(&save, 0, sizeof(struct utmp));
/netbsd-6-1-5-RELEASE/etc/rc.d/
H A Dsysdb16 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
/netbsd-6-1-5-RELEASE/share/man/man5/
H A DMakefile19 utmp.5 utmpx.5 veriexec.5 weekly.5 wscons.conf.5
26 MLINKS+=utmp.5 wtmp.5 utmp.5 lastlog.5 passwd.5 master.passwd.5
/netbsd-6-1-5-RELEASE/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c78 #include <utmp.h>
239 logit(LOG_NOTICE, "%s(): no utmp record for %s",
337 struct utmp utmp; local
339 (void)memset((void *)&utmp, 0, sizeof(utmp));
340 utmp.ut_time = now->tv_sec;
341 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
343 (void)strncpy(utmp
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/login/
H A Dcommon.c61 #include <utmp.h>
301 struct utmp utmp; local
303 (void)memset((void *)&utmp, 0, sizeof(utmp));
304 utmp.ut_time = now.tv_sec;
305 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name));
307 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp
[all...]

Completed in 137 milliseconds

1234