Searched refs:utmp_buf (Results 1 – 1 of 1) sorted by relevance
1034 struct utmp *utmp_buf; in uv_uptime() local1043 while ((utmp_buf = getutent()) != NULL) { in uv_uptime()1044 if (utmp_buf->ut_user[0] && utmp_buf->ut_type == USER_PROCESS) in uv_uptime()1046 if (utmp_buf->ut_type == BOOT_TIME) in uv_uptime()1047 boot_time = utmp_buf->ut_time; in uv_uptime()
Completed in 7 milliseconds