Lines Matching refs:ut
46 struct utmp *ut;
56 while ((ut = getutent()) != NULL) {
57 if (ut->ut_user[0] && ut->ut_type == USER_PROCESS) {
58 time_t thyme = ut->ut_tv.tv_sec;
60 /* ut->ut_line is device name of tty - "/dev/" */
61 name = concat_path_file("/dev", ut->ut_line);
67 ut->ut_user, ut->ut_line, str6,
68 ctime(&thyme) + 4, ut->ut_host);