From 69058973a9f5073184b9f0b98dbcbbd63da40514 Mon Sep 17 00:00:00 2001 From: pk33 Date: Sun, 3 Nov 2024 03:46:13 +0100 Subject: ignore --- musl/utmpx.h | 67 ------------------------------------------------------------ 1 file changed, 67 deletions(-) delete mode 100644 musl/utmpx.h (limited to 'musl/utmpx.h') diff --git a/musl/utmpx.h b/musl/utmpx.h deleted file mode 100644 index b293f42..0000000 --- a/musl/utmpx.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef _UTMPX_H -#define _UTMPX_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include - -#define __NEED_pid_t -#define __NEED_time_t -#define __NEED_suseconds_t -#define __NEED_struct_timeval - -#include - -struct utmpx { - short ut_type; - short __ut_pad1; - pid_t ut_pid; - char ut_line[32]; - char ut_id[4]; - char ut_user[32]; - char ut_host[256]; - struct { - short __e_termination; - short __e_exit; - } ut_exit; -#if __BYTE_ORDER == 1234 - int ut_session, __ut_pad2; -#else - int __ut_pad2, ut_session; -#endif - struct timeval ut_tv; - unsigned ut_addr_v6[4]; - char __unused[20]; -}; - -void endutxent(void); -struct utmpx *getutxent(void); -struct utmpx *getutxid(const struct utmpx *); -struct utmpx *getutxline(const struct utmpx *); -struct utmpx *pututxline(const struct utmpx *); -void setutxent(void); - -#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) -#define e_exit __e_exit -#define e_termination __e_termination -void updwtmpx(const char *, const struct utmpx *); -int utmpxname(const char *); -#endif - -#define EMPTY 0 -#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 - -#ifdef __cplusplus -} -#endif - -#endif -- cgit v1.2.3