Lines Matching refs:ll
187 struct lastlog ll; in enter_lastlog() local
196 lseek(fd, (off_t)(pn->uid * sizeof(ll)), SEEK_SET) != in enter_lastlog()
197 (long)(pn->uid * sizeof(ll)) || in enter_lastlog()
198 read(fd, (char *)&ll, sizeof(ll)) != sizeof(ll)) { in enter_lastlog()
200 ll.ll_line[0] = ll.ll_host[0] = '\0'; in enter_lastlog()
201 ll.ll_time = 0; in enter_lastlog()
205 else if (ll.ll_time != 0) { in enter_lastlog()
208 if (w->info == LOGGEDIN && w->loginat < ll.ll_time) in enter_lastlog()
217 strncmp(w->tty, ll.ll_line, UT_LINESIZE) == 0) in enter_lastlog()
223 memmove(w->tty, ll.ll_line, UT_LINESIZE); in enter_lastlog()
225 memmove(w->host, ll.ll_host, UT_HOSTSIZE); in enter_lastlog()
227 w->loginat = ll.ll_time; in enter_lastlog()