Lines Matching refs:line
150 simulate_login (const char *line, const char *user) in simulate_login() argument
156 if (strcmp (line, entry[n].ut_line) == 0 in simulate_login()
183 simulate_logout (const char *line) in simulate_logout() argument
189 if (strcmp (line, entry[n].ut_line) == 0) in simulate_logout()
208 error (0, 0, "no entry found for `%s'", line); in simulate_logout()
213 check_login (const char *line) in check_login() argument
221 strcpy (ut.ut_line, line); in check_login()
225 error (0, errno, "cannot get entry for line `%s'", line); in check_login()
233 if (strcmp (line, entry[n].ut_line) == 0) in check_login()
245 error (0, 0, "bogus entry for line `%s'", line); in check_login()
250 check_logout (const char *line) in check_logout() argument
256 strcpy (ut.ut_line, line); in check_logout()
259 error (0, 0, "bogus login entry for `%s'", line); in check_logout()