utmpx
struct utmpx utx;
struct utmpx ut;
const struct utmpx *ut;
struct utmpx;
void loginx(const struct utmpx *) __RENAME(__loginx50);
struct utmpx *getutxent(void) __RENAME(__getutxent50);
struct utmpx *getutxid(const struct utmpx *) __RENAME(__getutxid50);
struct utmpx *getutxline(const struct utmpx *) __RENAME(__getutxline50);
struct utmpx *pututxline(const struct utmpx *) __RENAME(__pututxline50);
int updwtmpx(const char *, const struct utmpx *) __RENAME(__updwtmpx50);
void getutmp(const struct utmpx *, struct utmp *) __RENAME(__getutmp50);
void getutmpx(const struct utmp *, struct utmpx *) __RENAME(__getutmpx50);
struct utmpx ut;
struct utmpx ut;
struct utmpx ut;
struct utmpx ut;
struct utmpx utx;
struct utmpx utx;
cvt(struct utmpx *ut)
utmpx50_to_utmpx(const struct utmpx50 *ut50, struct utmpx *ut)
utmpx_to_utmpx50(const struct utmpx *ut, struct utmpx50 *ut50)
struct utmpx *__getutxent50(void);
struct utmpx *__getutxid50(const struct utmpx *);
struct utmpx *__getutxline50(const struct utmpx *);
struct utmpx *__pututxline50(const struct utmpx *);
int __updwtmpx50(const char *, const struct utmpx *);
void __getutmp50(const struct utmpx *, struct utmp *);
void __getutmpx50(const struct utmp *, struct utmpx *);
struct utmpx *
struct utmpx *
getutxid(const struct utmpx *utx)
struct utmpx *
getutxline(const struct utmpx *utx)
struct utmpx *
pututxline(const struct utmpx *utx)
struct utmpx temp, *u = NULL;
static struct utmpx *
utmp_update(const struct utmpx *utx)
updwtmpx(const char *file, const struct utmpx *utx)
getutmp(const struct utmpx *ux, struct utmp *u)
getutmpx(const struct utmp *u, struct utmpx *ux)
static struct utmpx ut;
static struct utmpx *utmp_update(const struct utmpx *);
old2new(struct utmpx *utx)
new2old(struct utmpx *utx)
struct utmpx utmpx;
memset((void *)&utmpx, 0, sizeof(utmpx));
utmpx.ut_tv = *now;
(void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
(void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host));
utmpx.ut_ss = *ss;
(void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
utmpx.ut_type = USER_PROCESS;
utmpx.ut_pid = getpid();
if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
(void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
sizeof(utmpx.ut_id));
(void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
if (pututxline(&utmpx) == NULL)
if (updwtmpx(_PATH_WTMPX, &utmpx) != 0)
struct utmpx ut;
struct utmpx *utp, ut;
struct utmpx;
void __loginx50(const struct utmpx *);
loginx(const struct utmpx *ut)
struct utmpx *utp, ut;
struct utmpx ut;
struct utmpx;
void ftpd_loginx(const struct utmpx *);
(void)memset(&utmpx, 0, sizeof(utmpx));
utmpx.ut_tv = tv;
utmpx.ut_pid = getpid();
utmpx.ut_id[0] = 'f';
utmpx.ut_id[1] = 't';
utmpx.ut_id[2] = 'p';
utmpx.ut_id[3] = '*';
utmpx.ut_type = USER_PROCESS;
(void)strncpy(utmpx.ut_name, name, sizeof(utmpx.ut_name));
(void)strncpy(utmpx.ut_line, line, sizeof(utmpx.ut_line));
(void)strncpy(utmpx.ut_host, host, sizeof(utmpx.ut_host));
(void)memcpy(&utmpx.ut_ss, &haddr->si_su, haddr->su_len);
ftpd_loginx(&utmpx);
static struct utmpx utmpx; /* for utmpx */
ftpd_loginx(const struct utmpx *ut)
struct utmpx ut;
if(write(fdx, (char *)&ut, sizeof(struct utmpx)) !=
sizeof(struct utmpx))
struct utmpx utold, *utoldp;
struct utmpx *utx;
struct utmpx ut;
struct utmpx ut;
#define utmp utmpx
struct utmpx utmpx;
memset((void *)&utmpx, 0, sizeof(utmpx));
utmpx.ut_tv = now;
(void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name));
(void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host));
utmpx.ut_ss = ss;
(void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line));
utmpx.ut_type = USER_PROCESS;
utmpx.ut_pid = getpid();
if ((size_t)(t - tty) >= sizeof(utmpx.ut_id)) {
(void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id),
sizeof(utmpx.ut_id));
(void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id));
if (pututxline(&utmpx) == NULL)
if (updwtmpx(_PATH_WTMPX, &utmpx) != 0)
struct utmpx *utx;
struct utmpx *utx;
getentryx(struct utmpentry *e, struct utmpx *up)
static void getentryx(struct utmpentry *, struct utmpx *);