Return to login.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.15, 2000/09/07 20:27:52 | version 1.16, 2000/12/19 23:17:57 | ||
---|---|---|---|
|
|
||
* is found). The name of the host used last time is returned in buf. | * is found). The name of the host used last time is returned in buf. | ||
*/ | */ | ||
unsigned long | u_long | ||
get_last_login_time(uid_t uid, const char *logname, | get_last_login_time(uid_t uid, const char *logname, | ||
char *buf, unsigned int bufsize) | char *buf, u_int bufsize) | ||
{ | { | ||
struct lastlog ll; | struct lastlog ll; | ||
char *lastlog; | char *lastlog; |