diff options
Diffstat (limited to 'newlib/libc/sys/linux/sys/utmp.h')
-rw-r--r-- | newlib/libc/sys/linux/sys/utmp.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/newlib/libc/sys/linux/sys/utmp.h b/newlib/libc/sys/linux/sys/utmp.h deleted file mode 100644 index a837483a9..000000000 --- a/newlib/libc/sys/linux/sys/utmp.h +++ /dev/null @@ -1,54 +0,0 @@ -/* libc/sys/linux/sys/utmp.h - utmp structure */ - -/* Written 2000 by Werner Almesberger */ - - -/* Some things copied from glibc's /usr/include/bits/utmp.h */ - - -#ifndef _SYS_UTMP_H -#define _SYS_UTMP_H - - -#include <sys/types.h> - - -#define UTMP_FILE "/var/run/utmp" - -#define UT_LINESIZE 32 -#define UT_NAMESIZE 32 -#define UT_HOSTSIZE 256 - -struct utmp { - short int ut_type; - pid_t ut_pid; - char ut_line[UT_LINESIZE]; - char ut_id[4]; - char ut_user[UT_NAMESIZE]; - char ut_host[UT_HOSTSIZE]; - char __filler[52]; -}; - -#define RUN_LVL 1 -#define BOOT_TIME 2 -#define NEW_TIME 3 -#define OLD_TIME 4 - -#define INIT_PROCESS 5 -#define LOGIN_PROCESS 6 -#define USER_PROCESS 7 -#define DEAD_PROCESS 8 - - -/* --- redundant, from sys/cygwin/sys/utmp.h --- */ - -struct utmp *_getutline (struct utmp *); -struct utmp *getutent (void); -struct utmp *getutid (struct utmp *); -struct utmp *getutline (struct utmp *); -void endutent (void); -void pututline (struct utmp *); -void setutent (void); -void utmpname (const char *); - -#endif |