Lines Matching defs:utmpx
65 #include <utmpx.h>
66 struct utmpx wtmp;
1104 struct utmpx utmpx;
1110 bzero(&utmpx, sizeof(utmpx));
1111 SCPYN(utmpx.ut_user, ".telnet");
1112 SCPYN(utmpx.ut_line, line + sizeof(_PATH_DEV) - 1);
1113 utmpx.ut_pid = pid;
1114 utmpx.ut_id[0] = 't';
1115 utmpx.ut_id[1] = 'n';
1116 utmpx.ut_id[2] = SC_WILDC;
1117 utmpx.ut_id[3] = SC_WILDC;
1118 utmpx.ut_type = LOGIN_PROCESS;
1119 (void) time(&utmpx.ut_tv.tv_sec);
1120 if (makeutx(&utmpx) == NULL)