mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 13:50:06 +00:00
734c60ebb6
The symbols forkpty, login, login_tty, logout, logwtmp, openpty were moved using scripts/move-symbol-to-libc.py. This is a single commit because most of the symbols are tied together via forkpty, for example. Several changes to use hidden prototypes are needed. This commit also updates pseudoterminal terminology on modified lines. For 390 (31-bit), this commit follows the existing style for the compat symbol version creation. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
#ifndef _UTMP_H
|
|
#include <login/utmp.h>
|
|
|
|
# ifndef _ISOMAC
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern void __updwtmp (const char *__wtmp_file, const struct utmp *__utmp);
|
|
libc_hidden_proto (__updwtmp)
|
|
extern int __utmpname (const char *__file);
|
|
libc_hidden_proto (__utmpname)
|
|
extern struct utmp *__getutent (void);
|
|
libc_hidden_proto (__getutent)
|
|
extern void __setutent (void);
|
|
libc_hidden_proto (__setutent)
|
|
extern void __endutent (void);
|
|
libc_hidden_proto (__endutent)
|
|
extern struct utmp *__getutid (const struct utmp *__id);
|
|
libc_hidden_proto (__getutid)
|
|
extern struct utmp *__getutline (const struct utmp *__line);
|
|
libc_hidden_proto (__getutline)
|
|
extern struct utmp *__pututline (const struct utmp *__utmp_ptr);
|
|
libc_hidden_proto (__pututline)
|
|
extern int __getutent_r (struct utmp *__buffer, struct utmp **__result);
|
|
libc_hidden_proto (__getutent_r)
|
|
extern int __getutid_r (const struct utmp *__id, struct utmp *__buffer,
|
|
struct utmp **__result);
|
|
libc_hidden_proto (__getutid_r)
|
|
extern int __getutline_r (const struct utmp *__line,
|
|
struct utmp *__buffer, struct utmp **__result);
|
|
libc_hidden_proto (__getutline_r)
|
|
|
|
libc_hidden_proto (login)
|
|
libc_hidden_proto (login_tty)
|
|
libc_hidden_proto (logout)
|
|
libc_hidden_proto (logwtmp)
|
|
|
|
# endif /* !_ISOMAC */
|
|
#endif
|