diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-05-13 19:51:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-05-13 19:51:20 +0000 |
commit | 6eb857c78875a3640508f19f2afb2fc28c5829f2 (patch) | |
tree | 15335686a7d16e21dd6fb53983aba48a1833f436 /sysdeps/gnu/utmpx.h | |
parent | 71377958c8b059e0b49ad927a5a4575b40545cd8 (diff) | |
download | glibc-6eb857c78875a3640508f19f2afb2fc28c5829f2.tar.gz glibc-6eb857c78875a3640508f19f2afb2fc28c5829f2.tar.xz glibc-6eb857c78875a3640508f19f2afb2fc28c5829f2.zip |
Update
1999-05-13 H.J. Lu <hjl@gnu.org> * login/Versions (getutmpx): Added to GLIBC_2.1.1. (getutmp): Likewise. * sysdeps/gnu/Makefile (sysdep_routines): Add getutmp and getutmpx for login. * sysdeps/gnu/utmpx.h (getutmp): Added. (getutmpx): Likewise. * sysdeps/generic/getutmp.c: New file. * sysdeps/generic/getutmpx.c: New file.
Diffstat (limited to 'sysdeps/gnu/utmpx.h')
-rw-r--r-- | sysdeps/gnu/utmpx.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/gnu/utmpx.h b/sysdeps/gnu/utmpx.h index e9f2389b75..64fac6292c 100644 --- a/sysdeps/gnu/utmpx.h +++ b/sysdeps/gnu/utmpx.h @@ -60,6 +60,14 @@ extern int utmpxname __P ((__const char *__file)); /* Append entry UTMP to the wtmpx-like file WTMPX_FILE. */ extern void updwtmpx __P ((__const char *__wtmpx_file, __const struct utmpx *__utmpx)); + +/* Copy the information in UTMPX to UTMP. */ +extern void getutmp __P ((__const struct utmpx *__utmpx, + struct utmp *__utmp)); + +/* Copy the information in UTMP to UTMPX. */ +extern void getutmpx __P ((__const struct utmp *__utmp, + struct utmpx *__utmpx)); #endif __END_DECLS |