1#ifndef _UTMP_H
2#include <login/utmp.h>
3
4# ifndef _ISOMAC
5
6/* Now define the internal interfaces. */
7extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp);
8libc_hidden_proto (__updwtmp)
9extern int __utmpname (const char *__file);
10libc_hidden_proto (__utmpname)
11extern struct utmp *__getutent (void);
12libc_hidden_proto (__getutent)
13extern void __setutent (void);
14libc_hidden_proto (__setutent)
15extern void __endutent (void);
16libc_hidden_proto (__endutent)
17extern struct utmp *__getutid (const struct utmp *__id);
18libc_hidden_proto (__getutid)
19extern struct utmp *__getutline (const struct utmp *__line);
20libc_hidden_proto (__getutline)
21extern struct utmp *__pututline (const struct utmp *__utmp_ptr);
22libc_hidden_proto (__pututline)
23extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
24libc_hidden_proto (__getutent_r)
25extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer,
26 struct utmp **__result);
27libc_hidden_proto (__getutid_r)
28extern int __getutline_r (const struct utmp *__line,
29 struct utmp *__buffer, struct utmp **__result);
30libc_hidden_proto (__getutline_r)
31
32libc_hidden_proto (login)
33libc_hidden_proto (login_tty)
34libc_hidden_proto (logout)
35libc_hidden_proto (logwtmp)
36
37# endif /* !_ISOMAC */
38#endif
39

source code of glibc/include/utmp.h