Searched refs:utmpx (Results 1 - 25 of 60) sorted by relevance

123

/freebsd-10-stable/include/
H A Dutmpx.h41 struct utmpx { struct
76 struct utmpx *getutxent(void);
77 struct utmpx *getutxid(const struct utmpx *);
78 struct utmpx *getutxline(const struct utmpx *);
79 struct utmpx *pututxline(const struct utmpx *);
83 struct utmpx *getutxuser(const char *);
/freebsd-10-stable/lib/libc/gen/
H A Dutxdb.h46 struct utmpx;
58 void utx_to_futx(const struct utmpx *, struct futx *);
59 struct utmpx *futx_to_utx(const struct futx *);
H A Dgetutxent.c37 #include <utmpx.h>
157 struct utmpx *
167 struct utmpx *
168 getutxid(const struct utmpx *id)
203 struct utmpx *
204 getutxline(const struct utmpx *line)
227 struct utmpx *
H A Dutxdb.c36 #include <utmpx.h>
62 utx_to_futx(const struct utmpx *ut, struct futx *fu)
126 struct utmpx *
130 static struct utmpx *ut;
132 static _Thread_local struct utmpx *ut;
H A Dpututxline.c39 #include <utmpx.h>
288 struct utmpx *
289 pututxline(const struct utmpx *utmpx) argument
296 utx_to_futx(utmpx, &fu);
/freebsd-10-stable/usr.sbin/lastlogin/
H A Dlastlogin.c45 #include <utmpx.h>
48 static void output(struct utmpx *);
60 return (order * strcmp(((const struct utmpx *)u1)->ut_user,
61 ((const struct utmpx *)u2)->ut_user));
69 t1 = ((const struct utmpx *)u1)->ut_tv.tv_sec;
70 t2 = ((const struct utmpx *)u2)->ut_tv.tv_sec;
78 struct utmpx *u, *ulist;
121 (ulistsize + 16) * sizeof(struct utmpx));
129 qsort(ulist, ulistsize, sizeof(struct utmpx), utcmp);
139 output(struct utmpx *
[all...]
/freebsd-10-stable/usr.bin/finger/
H A Dfinger.h61 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
62 char host[sizeof ((struct utmpx *)0)->ut_host]; /* host name */
H A Dextern.h50 void enter_where(struct utmpx *, PERSON *);
/freebsd-10-stable/lib/libulog/
H A Dulog_login.c36 #include <utmpx.h>
40 ulog_fill(struct utmpx *utx, const char *line)
66 struct utmpx utx;
79 struct utmpx utx;
/freebsd-10-stable/usr.bin/users/
H A Dusers.c51 #include <utmpx.h>
53 typedef char namebuf[sizeof(((struct utmpx *)0)->ut_user) + 1];
65 struct utmpx *ut;
/freebsd-10-stable/usr.sbin/ppp/
H A Did.h30 struct utmpx;
44 extern void ID0login(const struct utmpx *);
45 extern void ID0logout(const struct utmpx *);
/freebsd-10-stable/contrib/opie/libopie/
H A Dlogwtmp.c87 #include <utmpx.h>
121 struct utmpx utx;
165 memset(&utx, 0, sizeof(struct utmpx));
192 if (write(fdx, (char *) &utx, sizeof(struct utmpx)) != sizeof(struct utmpx))
H A Dgetutmpentry.c20 #include <utmpx.h>
23 #define utmp utmpx
H A Dlogin.c16 and updwtmpx() call. Call endutxent for utmpx. Added
26 #include <utmpx.h>
29 #define utmp utmpx
H A Dinsecure.c17 Modified by cmetz for OPIE 2.4. Do utmp checks on utmpx systems.
43 #include <utmpx.h>
44 #define utmp utmpx
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dutmpx_login.c30 utmpx_update(struct utmpx *ut, char *line, const char *user, const char *host)
70 struct utmpx *ut, save_ut;
76 * stripped off. Rlogind and telnetd, on the other hand, make utmpx
95 /* Grow utmpx file by one record. */
96 struct utmpx newut;
H A Dlogin_locl.h64 #include <utmpx.h>
/freebsd-10-stable/usr.sbin/utx/
H A Dutx.c36 #include <utmpx.h>
54 struct utmpx utx = { .ut_type = DEAD_PROCESS };
84 struct utmpx utx = { .ut_type = type };
/freebsd-10-stable/libexec/ftpd/
H A Dlogwtmp.c49 #include <utmpx.h>
55 struct utmpx ut;
/freebsd-10-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dsys_term.c47 #include <utmpx.h>
51 struct utmpx wtmp;
1289 struct utmpx utmpx; local
1298 memset(&utmpx, 0, sizeof(utmpx));
1299 strncpy(utmpx.ut_user, ".telnet", sizeof(utmpx.ut_user));
1300 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx
1418 struct utmpx utmpx, *non_save_utxp; local
[all...]
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dlogwtmp.c59 #include <utmpx.h>
118 struct utmpx utx;
122 memset(&utx, 0, sizeof(struct utmpx));
184 write(fdx, &utx, sizeof(struct utmpx));
/freebsd-10-stable/usr.bin/who/
H A Dwho.c48 #include <utmpx.h>
53 static void row(const struct utmpx *);
163 row(const struct utmpx *ut)
227 struct utmpx *utx;
240 struct utmpx *utx;
266 struct utmpx ut, *utx;
/freebsd-10-stable/usr.bin/last/
H A Dlast.c58 #include <utmpx.h>
80 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */
100 static void doentry(struct utmpx *);
102 static void printentry(struct utmpx *, struct idtab *);
104 static int want(struct utmpx *);
205 struct utmpx *buf = NULL;
206 struct utmpx *ut;
244 doentry(struct utmpx *bp)
318 printentry(struct utmpx *bp, struct idtab *tt)
383 want(struct utmpx *b
[all...]
/freebsd-10-stable/usr.sbin/ac/
H A Dac.c44 #include <utmpx.h>
51 char user[sizeof(((struct utmpx *)0)->ut_user)];
52 char id[sizeof(((struct utmpx *)0)->ut_id)];
54 char line[sizeof(((struct utmpx *)0)->ut_line)];
64 char user[sizeof(((struct utmpx *)0)->ut_user)];
73 char line[sizeof(((struct utmpx *)0)->ut_line) + 2];
316 log_out(const struct utmpx *up)
347 log_in(struct utmpx *up)
406 struct utmpx *usr, usht;
/freebsd-10-stable/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c56 #include <utmpx.h>
70 struct utmpx *utx, utl;
157 struct utmpx utl;

Completed in 225 milliseconds

123