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

123

/freebsd-11-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-11-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-11-stable/usr.sbin/lastlogin/
H A Dlastlogin.c48 #include <utmpx.h>
53 static void output(struct utmpx *);
65 return (order * strcmp(((const struct utmpx *)u1)->ut_user,
66 ((const struct utmpx *)u2)->ut_user));
74 t1 = ((const struct utmpx *)u1)->ut_tv.tv_sec;
75 t2 = ((const struct utmpx *)u2)->ut_tv.tv_sec;
83 struct utmpx *u, *ulist;
133 (ulistsize + 16) * sizeof(struct utmpx));
141 qsort(ulist, ulistsize, sizeof(struct utmpx), utcmp);
155 output(struct utmpx *
[all...]
/freebsd-11-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-11-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-11-stable/usr.bin/users/
H A Dusers.cc36 #include <utmpx.h>
48 struct utmpx *ut;
/freebsd-11-stable/usr.sbin/ppp/
H A Did.h32 struct utmpx;
46 extern void ID0login(const struct utmpx *);
47 extern void ID0logout(const struct utmpx *);
/freebsd-11-stable/usr.sbin/utx/
H A Dutx.c38 #include <utmpx.h>
56 struct utmpx utx = { .ut_type = DEAD_PROCESS };
86 struct utmpx utx = { .ut_type = type };
/freebsd-11-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-11-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-11-stable/libexec/ftpd/
H A Dlogwtmp.c49 #include <utmpx.h>
55 struct utmpx ut;
/freebsd-11-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-11-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-11-stable/usr.bin/who/
H A Dwho.c50 #include <utmpx.h>
55 static void row(const struct utmpx *);
165 row(const struct utmpx *ut)
229 struct utmpx *utx;
242 struct utmpx *utx;
268 struct utmpx ut, *utx;
/freebsd-11-stable/usr.bin/last/
H A Dlast.c59 #include <utmpx.h>
83 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */
105 static void doentry(struct utmpx *);
107 static void printentry(struct utmpx *, struct idtab *);
109 static int want(struct utmpx *);
245 struct utmpx *buf = NULL;
246 struct utmpx *ut;
291 doentry(struct utmpx *bp)
365 printentry(struct utmpx *bp, struct idtab *tt)
438 want(struct utmpx *b
[all...]
/freebsd-11-stable/usr.sbin/ac/
H A Dac.c46 #include <utmpx.h>
53 char user[sizeof(((struct utmpx *)0)->ut_user)];
54 char id[sizeof(((struct utmpx *)0)->ut_id)];
56 char line[sizeof(((struct utmpx *)0)->ut_line)];
66 char user[sizeof(((struct utmpx *)0)->ut_user)];
75 char line[sizeof(((struct utmpx *)0)->ut_line) + 2];
318 log_out(const struct utmpx *up)
349 log_in(struct utmpx *up)
408 struct utmpx *usr, usht;
/freebsd-11-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 216 milliseconds

123