S390: Optimize wmemset.
[glibc.git] / include / utmp.h
blob28207d1282e81730018ebabd9d8484a86d55bdc6
1 #ifndef _UTMP_H
2 #include <login/utmp.h>
4 /* Now define the internal interfaces. */
5 extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp);
6 extern int __utmpname (const char *__file);
7 extern struct utmp *__getutent (void);
8 extern void __setutent (void);
9 extern void __endutent (void);
10 extern struct utmp *__getutid (const struct utmp *__id);
11 extern struct utmp *__getutline (const struct utmp *__line);
12 extern struct utmp *__pututline (const struct utmp *__utmp_ptr);
13 extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
14 extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer,
15 struct utmp **__result);
16 extern int __getutline_r (const struct utmp *__line,
17 struct utmp *__buffer, struct utmp **__result);
19 libutil_hidden_proto (login_tty)
21 #endif