| /minix3/external/bsd/tmux/dist/ |
| H A D | utmp.c | 62 struct utmp ut; 108 login_utmp(struct utmp *utmp, const char *username, const char *hostname, in login_utmp() argument 111 (void)memset(utmp, 0, sizeof(*utmp)); in login_utmp() 112 utmp->ut_time = now->tv_sec; in login_utmp() 113 (void)strncpy(utmp->ut_name, username, sizeof(utmp->ut_name)); in login_utmp() 115 (void)strncpy(utmp->ut_host, hostname, sizeof(utmp->ut_host)); in login_utmp() 116 (void)strncpy(utmp->ut_line, tty, sizeof(utmp->ut_line)); in login_utmp() 117 login(utmp); in login_utmp() 121 logout_utmp(struct utmp *utmp, const struct timeval *now) in logout_utmp() argument 123 logout(utmp->ut_line); in logout_utmp()
|
| /minix3/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| H A D | x_long.c | 113 unsigned long utmp; in long_i2c() local 129 utmp = -ltmp - 1; in long_i2c() 131 utmp = ltmp; in long_i2c() 132 clen = BN_num_bits_word(utmp); in long_i2c() 146 cont[i] = (unsigned char)(utmp & 0xff); in long_i2c() 149 utmp >>= 8; in long_i2c() 160 unsigned long utmp = 0; in long_c2i() local 171 utmp = 0; in long_c2i() 173 utmp <<= 8; in long_c2i() 175 utmp |= cont[i] ^ 0xff; in long_c2i() [all …]
|
| /minix3/lib/libc/gen/ |
| H A D | utmp.c | 46 static struct utmp utmp; variable 58 struct utmp * 71 numentries = st.st_size / sizeof(utmp); in getutent() 72 if ((off_t)(numentries * sizeof(utmp)) != st.st_size) in getutent() 75 if (fread(&utmp, sizeof(utmp), 1, ut) == 1) in getutent() 76 return &utmp; in getutent()
|
| /minix3/lib/libutil/ |
| H A D | login.c | 53 login(const struct utmp *ut) in login() 62 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in login() 63 (void)write(fd, ut, sizeof(struct utmp)); in login() 67 (void)write(fd, ut, sizeof(struct utmp)); in login()
|
| H A D | logwtmp.c | 56 struct utmp ut; in logwtmp() 71 if (write(fd, &ut, sizeof(struct utmp)) != sizeof(struct utmp)) in logwtmp()
|
| /minix3/lib/libc/compat/include/ |
| H A D | 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 *);
|
| H A D | utmp.h | 51 utmp_to_utmp50(const struct utmp *ut, struct utmp50 *ut50) in utmp_to_utmp50() 58 utmp50_to_utmp(const struct utmp50 *ut50, struct utmp *ut) in utmp50_to_utmp() 65 struct utmp *__getutent50(void);
|
| /minix3/usr.bin/login/ |
| H A D | common.c | 301 struct utmp utmp; in doutmp() local 303 (void)memset((void *)&utmp, 0, sizeof(utmp)); in doutmp() 304 utmp.ut_time = now.tv_sec; in doutmp() 305 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); in doutmp() 307 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host)); in doutmp() 308 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line)); in doutmp() 309 login(&utmp); in doutmp()
|
| /minix3/etc/rc.d/ |
| H A D | sysdb | 84 if [ ! -f /var/run/utmp$i ]; then 87 install -c -m 664 -g utmp /dev/null /var/run/utmp$i
|
| /minix3/include/ |
| H A D | 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);
|
| H A D | utmp.h | 56 struct utmp { struct 67 struct utmp *getutent(void) __RENAME(__getutent50); argument
|
| H A D | util.h | 68 struct utmp; 88 void login(const struct utmp *) __RENAME(__login50);
|
| /minix3/lib/libutil/compat/ |
| H A D | util.h | 43 struct utmp; 58 void __login50(const struct utmp *);
|
| H A D | compat_login.c | 64 struct utmp ut; in login() 70 (void)lseek(fd, (off_t)(tty * sizeof(struct utmp)), SEEK_SET); in login()
|
| /minix3/libexec/ftpd/ |
| H A D | logwtmp.c | 89 struct utmp ut; in ftpd_logwtmp() 99 if (write(fd, (char *)&ut, sizeof(struct utmp)) != in ftpd_logwtmp() 100 sizeof(struct utmp)) in ftpd_logwtmp()
|
| H A D | logutmp.c | 80 typedef struct utmp UTMP; 91 ftpd_login(const struct utmp *ut) in ftpd_login()
|
| /minix3/usr.bin/last/ |
| H A D | want.c | 31 static struct utmp *buf; 35 static int want(struct utmp *, int); 36 static const char *gethost(struct utmp *, const char *, int); 40 gethost(struct utmp *ut, const char *host, int numeric) in gethost() 70 struct utmp *bp; /* current structure */ in wtmp() 268 want(struct utmp *bp, int check) in want()
|
| /minix3/bin/ed/ |
| H A D | undo.c | 83 undo_t utmp; \ 84 utmp = x, x = y, y = utmp; \
|
| /minix3/crypto/external/bsd/heimdal/dist/ |
| H A D | configure.ac | 382 utmp.h \ 541 dnl Check for fields in struct utmp 544 AC_HAVE_STRUCT_FIELD(struct utmp, ut_addr, [#include <utmp.h>]) 545 AC_HAVE_STRUCT_FIELD(struct utmp, ut_host, [#include <utmp.h>]) 546 AC_HAVE_STRUCT_FIELD(struct utmp, ut_id, [#include <utmp.h>]) 547 AC_HAVE_STRUCT_FIELD(struct utmp, ut_pid, [#include <utmp.h>]) 548 AC_HAVE_STRUCT_FIELD(struct utmp, ut_type, [#include <utmp.h>]) 549 AC_HAVE_STRUCT_FIELD(struct utmp, ut_user, [#include <utmp.h>])
|
| /minix3/minix/man/man5/ |
| H A D | Makefile | 4 termcap.5 ttytab.5 TZ.5 utmp.5 \
|
| /minix3/lib/libc/compat/gen/ |
| H A D | compat_utmp.c | 53 cvt(struct utmp *ut) in cvt()
|
| H A D | compat_utmpx.c | 181 getutmp(const struct utmpx50 *utx50, struct utmp *ut) in getutmp() 189 getutmpx(const struct utmp *ut, struct utmpx50 *utx50) in getutmpx()
|
| /minix3/usr.bin/who/ |
| H A D | utmpentry.c | 60 static void getentry(struct utmpentry *, struct utmp *); 188 struct utmp *ut; in getutentries() 272 getentry(struct utmpentry *e, struct utmp *up) in getentry()
|
| /minix3/etc/ |
| H A D | group | 31 utmp:*:45:
|
| /minix3/external/bsd/libpcap/dist/lbl/ |
| H A D | os-sunos4.h | 118 struct utmp; 120 void login(struct utmp *);
|