* sysdeps/pthread/list.h (list_add): Initialize new element first.
[glibc.git] / include / utmp.h
blob3a35c599e54a640111aa722a412d408a47157a29
1 #ifndef _UTMP_H
2 #include <login/utmp.h>
4 /* Now define the internal interfaces. */
5 extern void __updwtmp (__const char *__wtmp_file,
6 __const struct utmp *__utmp);
7 extern int __utmpname (__const char *__file);
8 extern struct utmp *__getutent (void);
9 extern void __setutent (void);
10 extern void __endutent (void);
11 extern struct utmp *__getutid (__const struct utmp *__id);
12 extern struct utmp *__getutline (__const struct utmp *__line);
13 extern struct utmp *__pututline (__const struct utmp *__utmp_ptr);
14 extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
15 extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
16 struct utmp **__result);
17 extern int __getutline_r (__const struct utmp *__line,
18 struct utmp *__buffer, struct utmp **__result);
20 libutil_hidden_proto (login_tty)
22 #endif