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

123

/freebsd-current/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-current/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.c36 #include <utmpx.h>
151 struct utmpx *
161 struct utmpx *
162 getutxid(const struct utmpx *id)
197 struct utmpx *
198 getutxline(const struct utmpx *line)
221 struct utmpx *
H A Dutxdb.c35 #include <utmpx.h>
61 utx_to_futx(const struct utmpx *ut, struct futx *fu)
125 struct utmpx *
128 static _Thread_local struct utmpx *ut;
H A Dpututxline.c38 #include <utmpx.h>
287 struct utmpx *
288 pututxline(const struct utmpx *utmpx) argument
295 utx_to_futx(utmpx, &fu);
/freebsd-current/usr.sbin/lastlogin/
H A Dlastlogin.c47 #include <utmpx.h>
52 static void output(struct utmpx *);
64 return (order * strcmp(((const struct utmpx *)u1)->ut_user,
65 ((const struct utmpx *)u2)->ut_user));
73 t1 = ((const struct utmpx *)u1)->ut_tv.tv_sec;
74 t2 = ((const struct utmpx *)u2)->ut_tv.tv_sec;
82 struct utmpx *u, *ulist;
132 (ulistsize + 16) * sizeof(struct utmpx));
140 qsort(ulist, ulistsize, sizeof(struct utmpx), utcmp);
154 output(struct utmpx *
[all...]
/freebsd-current/usr.bin/finger/
H A Dfinger.h60 char tty[sizeof ((struct utmpx *)0)->ut_line]; /* tty line */
61 char host[sizeof ((struct utmpx *)0)->ut_host]; /* host name */
H A Dextern.h49 void enter_where(struct utmpx *, PERSON *);
/freebsd-current/lib/libulog/
H A Dulog_login.c35 #include <utmpx.h>
39 ulog_fill(struct utmpx *utx, const char *line)
65 struct utmpx utx;
78 struct utmpx utx;
/freebsd-current/usr.bin/users/
H A Dusers.cc35 #include <utmpx.h>
47 struct utmpx *ut;
/freebsd-current/libexec/ftpd/
H A Dlogwtmp.c42 #include <utmpx.h>
48 struct utmpx ut;
/freebsd-current/usr.sbin/ppp/
H A Did.h30 struct utmpx;
44 extern void ID0login(const struct utmpx *);
45 extern void ID0logout(const struct utmpx *);
/freebsd-current/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-current/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-current/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-current/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-current/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-current/usr.bin/who/
H A Dwho.c47 #include <utmpx.h>
52 static void row(const struct utmpx *);
162 row(const struct utmpx *ut)
228 struct utmpx *utx;
242 struct utmpx *utx;
268 struct utmpx ut, *utx;
/freebsd-current/usr.bin/last/
H A Dlast.c52 #include <utmpx.h>
75 char id[sizeof ((struct utmpx *)0)->ut_id]; /* identifier */
95 static void doentry(struct utmpx *);
97 static void printentry(struct utmpx *, struct idtab *);
99 static int want(struct utmpx *);
218 struct utmpx *buf = NULL;
219 struct utmpx *ut;
262 doentry(struct utmpx *bp)
336 printentry(struct utmpx *bp, struct idtab *tt)
409 want(struct utmpx *b
[all...]
/freebsd-current/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c56 #include <utmpx.h>
70 struct utmpx *utx, utl;
157 struct utmpx utl;
/freebsd-current/crypto/openssh/
H A Dloginrec.c83 * For utmpx systems, the corresponding library functions are
84 * setutxent() etc. To the author's knowledge, all utmpx systems have
116 * struct utmp and struct utmpx have utility functions (see
122 * write both struct utmp and utmpx in one function, whilst maintaining
200 void set_utmpx_time(struct logininfo *li, struct utmpx *ut);
201 void construct_utmpx(struct logininfo *li, struct utmpx *ut);
722 ** utmpx utility functions
724 ** These functions manipulate struct utmpx, accounting for system
729 /* build the utmpx structure */
731 set_utmpx_time(struct logininfo *li, struct utmpx *ut
[all...]
H A Dincludes.h67 # include <utmpx.h>
/freebsd-current/libexec/rpc.rusersd/
H A Drusers_proc.c41 #include <utmpx.h>
57 static struct utmpx utmp_list[MAXUSERS];
154 struct utmpx *usr;
188 struct utmpx *usr;
/freebsd-current/libexec/comsat/
H A Dcomsat.c53 #include <utmpx.h>
64 static void notify(struct utmpx *, char[], off_t, int);
111 struct utmpx *utp;
145 notify(struct utmpx *utp, char file[], off_t offset, int folder)

Completed in 291 milliseconds

123