Home | History | Annotate | Download | only in w

Lines Matching defs:ut

143 	struct utmp *ut;
277 while ((ut = getutent()) != NULL) {
278 if (ut->ut_name[0] == '\0')
282 strncmp(ut->ut_name, sel_user, sizeof(ut->ut_name)) != 0)
287 if (strncmp(ep->line, ut->ut_line,
288 sizeof(ut->ut_line)) == 0)
301 (void)memcpy(ep->name, ut->ut_name, sizeof(ut->ut_name));
302 (void)memcpy(ep->line, ut->ut_line, sizeof(ut->ut_line));
303 (void)memcpy(ep->host, ut->ut_host, sizeof(ut->ut_host));
304 ep->name[sizeof(ut->ut_name)] = '\0';
305 ep->line[sizeof(ut->ut_line)] = '\0';
306 ep->host[sizeof(ut->ut_host)] = '\0';
308 ep->tv.tv_sec = ut->ut_time;
560 * ut entry made by ftpd. The "tty" used