mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 05:00:15 +00:00
a784e50247
No more __const.
22 lines
809 B
C
22 lines
809 B
C
#ifndef _UTMP_H
|
|
#include <login/utmp.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp);
|
|
extern int __utmpname (const char *__file);
|
|
extern struct utmp *__getutent (void);
|
|
extern void __setutent (void);
|
|
extern void __endutent (void);
|
|
extern struct utmp *__getutid (const struct utmp *__id);
|
|
extern struct utmp *__getutline (const struct utmp *__line);
|
|
extern struct utmp *__pututline (const struct utmp *__utmp_ptr);
|
|
extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
|
|
extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer,
|
|
struct utmp **__result);
|
|
extern int __getutline_r (const struct utmp *__line,
|
|
struct utmp *__buffer, struct utmp **__result);
|
|
|
|
libutil_hidden_proto (login_tty)
|
|
|
|
#endif
|