From: Ulrich Drepper Date: Sat, 19 Apr 1997 15:19:19 +0000 (+0000) Subject: Add prototype for updwtmp. X-Git-Tag: cvs/libc-2_0_4~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5105c5e94b6430b699af975406776a6fc6d69fb0;p=thirdparty%2Fglibc.git Add prototype for updwtmp. --- diff --git a/login/utmp.h b/login/utmp.h index 402ab25cb61..fa35cd4f4f4 100644 --- a/login/utmp.h +++ b/login/utmp.h @@ -48,6 +48,10 @@ extern void login __P ((__const struct utmp *__entry)); /* Write the utmp entry to say the user on UT_LINE has logged out. */ extern int logout __P ((__const char *__ut_line)); +/* Append the given entry to a wtmp file. */ +extern void updwtmp __P ((__const char *__wtmp_file, + __const struct utmp *__entry)); + /* Append to wtmp an entry for the current time and the given info. */ extern void logwtmp __P ((__const char *__ut_line, __const char *__ut_name, __const char *__ut_host));