From 51fbd1f60a5c43fc5bde04952bc88b5545a83d13 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 21 Jun 1996 04:33:09 +0000 Subject: Fri Jun 21 00:27:51 1996 Roland McGrath * login/utmp.h: Declare login_tty. Thu Jun 20 21:19:07 1996 Richard Henderson * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Changed to a 12-byte PLT entry to remove dependency on $gp. Take a new got_addr parameter. (elf_machine_rela): Pass the new parameter. (ELF_MACHINE_RUNTIME_TRAMPOLINE): Do arithmetic for 12-byte PLT. (RTLD_START): Do normal linkage with program entry. __hurd_file_name_lookup, __hurd_file_name_split): Add & use LOOKUP argument. __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry: --- login/utmp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'login/utmp.h') diff --git a/login/utmp.h b/login/utmp.h index b53e13a9e0..71f1a093df 100644 --- a/login/utmp.h +++ b/login/utmp.h @@ -24,10 +24,16 @@ Boston, MA 02111-1307, USA. */ #include + /* Get system dependent values and data structures. */ #include +/* Make FD be the controlling terminal, stdin, stdout, and stderr; + then close FD. Returns 0 on success, nonzero on error. */ +extern int login_tty __P ((int fd)); + + /* Write the given entry into utmp and wtmp. */ extern void login __P ((__const struct utmp *)); @@ -38,7 +44,7 @@ extern int logout __P ((__const char *ut_line)); extern void logwtmp __P ((__const char *ut_line, __const char *ut_name, __const char *ut_host)); -/* Change name of the examine utmp file. */ +/* Change name of the utmp file to be examined. */ extern int utmpname __P ((__const char *__file)); /* Read next entry from a utmp-like file. */ -- cgit v1.2.3