diff options
author | Roland McGrath <roland@gnu.org> | 1996-06-21 04:33:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-06-21 04:33:09 +0000 |
commit | 51fbd1f60a5c43fc5bde04952bc88b5545a83d13 (patch) | |
tree | 6b0889974fe6a348be7f6fab3beb50166894a850 /login | |
parent | 7b5092a79d94cdf5f67b3dac8e69734109c12b50 (diff) | |
download | glibc-51fbd1f60a5c43fc5bde04952bc88b5545a83d13.tar glibc-51fbd1f60a5c43fc5bde04952bc88b5545a83d13.tar.gz glibc-51fbd1f60a5c43fc5bde04952bc88b5545a83d13.tar.bz2 glibc-51fbd1f60a5c43fc5bde04952bc88b5545a83d13.zip |
Fri Jun 21 00:27:51 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960621
* login/utmp.h: Declare login_tty.
Thu Jun 20 21:19:07 1996 Richard Henderson <rth@tamu.edu>
* 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:
Diffstat (limited to 'login')
-rw-r--r-- | login/utmp.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <sys/types.h> + /* Get system dependent values and data structures. */ #include <utmpbits.h> +/* 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. */ |