aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/include/sys/sem.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/posix/include/sys/sem.h
parentbd5969fc876a10b18613302db7087ef3c40f18e1 (diff)
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/posix/include/sys/sem.h')
-rw-r--r--lib/mlibc/options/posix/include/sys/sem.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/lib/mlibc/options/posix/include/sys/sem.h b/lib/mlibc/options/posix/include/sys/sem.h
deleted file mode 100644
index cb3516a..0000000
--- a/lib/mlibc/options/posix/include/sys/sem.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef _SYS_SEM_H
-#define _SYS_SEM_H
-
-#include <bits/ansi/time_t.h>
-#include <sys/ipc.h>
-#include <stddef.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define GETALL 13
-#define SETVAL 16
-#define SETALL 17
-
-#define SEM_UNDO 0x1000
-
-struct sembuf {
- unsigned short int sem_num;
- short int sem_op;
- short int sem_flg;
-};
-
-struct semid_ds {
- struct ipc_perm sem_perm;
- time_t sem_otime;
- time_t sem_ctime;
-
- unsigned long sem_nsems;
-};
-
-#ifndef __MLIBC_ABI_ONLY
-
-int semget(key_t, int, int);
-int semop(int, struct sembuf *, size_t);
-int semctl(int, int, int, ...);
-
-#endif /* !__MLIBC_ABI_ONLY */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif // _SYS_SEM_H