Lines Matching refs:utmpx
47 #include <utmpx.h>
51 struct utmpx wtmp;
1289 struct utmpx utmpx;
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.ut_line));
1302 strncpy(utmpx.ut_id, make_id(clean_tty), sizeof(utmpx.ut_id));
1304 utmpx.ut_pid = pid;
1306 utmpx.ut_type = LOGIN_PROCESS;
1309 utmpx.ut_tv.tv_sec = tv.tv_sec;
1310 utmpx.ut_tv.tv_usec = tv.tv_usec;
1312 if (pututxline(&utmpx) == NULL)
1418 struct utmpx utmpx, *non_save_utxp;
1422 * This updates the utmpx and utmp entries and make a wtmp/x entry
1426 memset(&utmpx, 0, sizeof(utmpx));
1427 strncpy(utmpx.ut_line, clean_tty, sizeof(utmpx.ut_line));
1428 utmpx.ut_type = LOGIN_PROCESS;
1429 non_save_utxp = getutxline(&utmpx);
1431 struct utmpx *utxp;
1435 utxp = malloc(sizeof(struct utmpx));
1461 /* This is a strange system with a utmpx and a wtmp! */