summaryrefslogtreecommitdiffstats
path: root/include/utmp.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
commit164a928b77f596b6617a4bbf43a2c06bc35a5602 (patch)
tree8d1f20c152e2eec919c58e3259a20cc038b5d7c4 /include/utmp.h
parent8c325ee38bf779dc5d51e41281d3b8230c3af971 (diff)
downloaduClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.bz2
uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.xz
Merge from trunk.
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/utmp.h b/include/utmp.h
index ce251c137..585aad12d 100644
--- a/include/utmp.h
+++ b/include/utmp.h
@@ -79,6 +79,19 @@ extern struct utmp *getutline (__const struct utmp *__line) __THROW;
/* Write out entry pointed to by UTMP_PTR into the utmp file. */
extern struct utmp *pututline (__const struct utmp *__utmp_ptr) __THROW;
+
+#if 0 /* def __USE_MISC */
+/* Reentrant versions of the file for handling utmp files. */
+extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
+
+extern int getutid_r (__const struct utmp *__id, struct utmp *__buffer,
+ struct utmp **__result) __THROW;
+
+extern int getutline_r (__const struct utmp *__line,
+ struct utmp *__buffer, struct utmp **__result) __THROW;
+
+#endif /* Use misc. */
+
__END_DECLS
#endif /* utmp.h */