Home | History | Annotate | Download | only in include

Lines Matching refs:utmp

30 #include <bits/utmp.h>
45 /* Write the given entry into utmp and wtmp. */
46 extern void login (__const struct utmp *__entry) __THROW;
48 /* Write the utmp entry to say the user on UT_LINE has logged out. */
55 /* Append entry UTMP to the wtmp-like file WTMP_FILE. */
56 extern void updwtmp (__const char *__wtmp_file, __const struct utmp *__utmp)
59 /* Change name of the utmp file to be examined. */
62 /* Read next entry from a utmp-like file. */
63 extern struct utmp *getutent (void) __THROW;
71 /* Search forward from the current point in the utmp file until the
73 extern struct utmp *getutid (__const struct utmp *__id) __THROW;
75 /* Search forward from the current point in the utmp file until the
77 extern struct utmp *getutline (__const struct utmp *__line) __THROW;
79 /* Write out entry pointed to by UTMP_PTR into the utmp file. */
80 extern struct utmp *pututline (__const struct utmp *__utmp_ptr) __THROW;
84 /* Reentrant versions of the file for handling utmp files. */
85 extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
87 extern int getutid_r (__const struct utmp *__id, struct utmp *__buffer,
88 struct utmp **__result) __THROW;
90 extern int getutline_r (__const struct utmp *__line,
91 struct utmp *__buffer, struct utmp **__result) __THROW;
97 #endif /* utmp.h */