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

123

/freebsd-12-stable/include/
H A Dutmpx.h43 struct utmpx { struct
78 struct utmpx *getutxent(void);
79 struct utmpx *getutxid(const struct utmpx *);
80 struct utmpx *getutxline(const struct utmpx *);
81 struct utmpx *pututxline(const struct utmpx *);
85 struct utmpx *getutxuser(const char *);
/freebsd-12-stable/lib/libc/gen/
H A Dutxdb.h48 struct utmpx;
60 void utx_to_futx(const struct utmpx *, struct futx *);
61 struct utmpx *futx_to_utx(const struct futx *);
H A Dgetutxent.c39 #include <utmpx.h>
159 struct utmpx *
169 struct utmpx *
170 getutxid(const struct utmpx *id)
205 struct utmpx *
206 getutxline(const struct utmpx *line)
229 struct utmpx *
H A Dutxdb.c38 #include <utmpx.h>
64 utx_to_futx(const struct utmpx *ut, struct futx *fu)
128 struct utmpx *
132 static struct utmpx *ut;
134 static _Thread_local struct utmpx *ut;
H A Dpututxline.c41 #include <utmpx.h>
290 struct utmpx *
291 pututxline(const struct utmpx *utmpx) argument
298 utx_to_futx(utmpx, &fu);
/freebsd-12-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-12-stable/usr.bin/finger/
H A Dfinger.h63 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
64 char host[sizeof ((struct utmpx *)0)->ut_host]; /* host name */
H A Dextern.h52 void enter_where(struct utmpx *, PERSON *);
/freebsd-12-stable/lib/libulog/
H A Dulog_login.c38 #include <utmpx.h>
42 ulog_fill(struct utmpx *utx, const char *line)
68 struct utmpx utx;
81 struct utmpx utx;
/freebsd-12-stable/usr.bin/users/
H A Dusers.cc38 #include <utmpx.h>
50 struct utmpx *ut;
/freebsd-12-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-12-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-12-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-12-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-12-stable/libexec/ftpd/
H A Dlogwtmp.c51 #include <utmpx.h>
57 struct utmpx ut;
/freebsd-12-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-12-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-12-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-12-stable/usr.bin/last/
H A Dlast.c64 #include <utmpx.h>
87 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */
109 static void doentry(struct utmpx *);
111 static void printentry(struct utmpx *, struct idtab *);
113 static int want(struct utmpx *);
262 struct utmpx *buf = NULL;
263 struct utmpx *ut;
306 doentry(struct utmpx *bp)
380 printentry(struct utmpx *bp, struct idtab *tt)
453 want(struct utmpx *b
[all...]
/freebsd-12-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-12-stable/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c58 #include <utmpx.h>
72 struct utmpx *utx, utl;
159 struct utmpx utl;

Completed in 257 milliseconds

123