Searched refs:utmpx (Results 1 – 7 of 7) sorted by relevance
2466 static struct utmpx utmpx; local2470 strncpy(utmpx.ut_user, name, sizeof(utmpx.ut_user));2471 strncpy(utmpx.ut_line, line, sizeof(utmpx.ut_line));2472 strncpy(utmpx.ut_host, host, sizeof(utmpx.ut_host));2474 utmpx.ut_syslen = strlen(host) + 1;2475 if (utmpx.ut_syslen > sizeof(utmpx.ut_host))2476 utmpx.ut_syslen = sizeof(utmpx.ut_host);2478 utmpx.ut_pid = getpid();2479 utmpx.ut_type = USER_PROCESS;2481 utmpx.ut_type = DEAD_PROCESS;[all …]
229 struct utmpx {int ut_type;}; argument231 static inline struct utmpx *getutxent(void) {return 0;} in getutxent()
21 struct utmpx *x; in w_main()
29 struct utmpx *entry; in uptime_main()
29 struct utmpx *entry; in who_main()
66 struct utmpx *a;
6494 and utmpx.h