Home | History | Annotate | Download | only in pppd

Lines Matching defs:utmpx

104 #include <utmpx.h>
2463 static struct utmpx utmpx;
2467 strncpy(utmpx.ut_user, name, sizeof(utmpx.ut_user));
2468 strncpy(utmpx.ut_id, ifname, sizeof(utmpx.ut_id));
2469 strncpy(utmpx.ut_line, line, sizeof(utmpx.ut_line));
2470 utmpx.ut_pid = getpid();
2471 utmpx.ut_type = USER_PROCESS;
2473 utmpx.ut_type = DEAD_PROCESS;
2475 gettimeofday(&utmpx.ut_tv, NULL);
2476 updwtmpx("/var/adm/wtmpx", &utmpx);