summaryrefslogtreecommitdiff
path: root/sysdeps/gnu/utmpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/utmpx.h')
-rw-r--r--sysdeps/gnu/utmpx.h8
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