aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/glibc/include/sys/procfs.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-03-07 17:28:52 -0500
committerIan Moffett <ian@osmora.org>2024-03-07 18:24:51 -0500
commitf5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch)
tree93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/glibc/include/sys/procfs.h
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/glibc/include/sys/procfs.h')
-rw-r--r--lib/mlibc/options/glibc/include/sys/procfs.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/lib/mlibc/options/glibc/include/sys/procfs.h b/lib/mlibc/options/glibc/include/sys/procfs.h
deleted file mode 100644
index b13a81d..0000000
--- a/lib/mlibc/options/glibc/include/sys/procfs.h
+++ /dev/null
@@ -1,54 +0,0 @@
-#ifndef _SYS_PROCFS_H
-#define _SYS_PROCFS_H
-
-#include <sys/user.h>
-#include <sys/time.h>
-#include <abi-bits/pid_t.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef unsigned long long elf_greg_t;
-
-#define ELF_NGREG (sizeof (struct user_regs_struct) / sizeof (elf_greg_t))
-typedef elf_greg_t elf_gregset_t[ELF_NGREG];
-
-typedef struct user_fpregs_struct elf_fpregset_t;
-typedef struct user_regs_struct prgregset_t;
-typedef struct user_fpregs_struct prfpregset_t;
-
-#define ELF_PRARGSZ 80
-
-struct elf_siginfo {
- int si_signo;
- int si_code;
- int si_errno;
-};
-
-struct elf_prstatus {
- struct elf_siginfo pr_info;
- short int pr_cursig;
- unsigned long int pr_sigpend;
- unsigned long int pr_sighold;
- pid_t pr_pid;
- pid_t pr_ppid;
- pid_t pr_pgrp;
- pid_t pr_sid;
- struct timeval pr_utime;
- struct timeval pr_stime;
- struct timeval pr_cutime;
- struct timeval pr_cstime;
- elf_gregset_t pr_reg;
- int pr_fpvalid;
-};
-
-typedef pid_t lwpid_t;
-typedef void *psaddr_t;
-typedef struct elf_prstatus prstatus_t;
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif