summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/include/sys')
-rw-r--r--libc-top-half/musl/src/include/sys/auxv.h10
-rw-r--r--libc-top-half/musl/src/include/sys/membarrier.h9
-rw-r--r--libc-top-half/musl/src/include/sys/mman.h20
-rw-r--r--libc-top-half/musl/src/include/sys/sysinfo.h9
-rw-r--r--libc-top-half/musl/src/include/sys/time.h8
5 files changed, 56 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/include/sys/auxv.h b/libc-top-half/musl/src/include/sys/auxv.h
new file mode 100644
index 0000000..9358a4a
--- /dev/null
+++ b/libc-top-half/musl/src/include/sys/auxv.h
@@ -0,0 +1,10 @@
+#ifndef SYS_AUXV_H
+#define SYS_AUXV_H
+
+#include "../../../include/sys/auxv.h"
+
+#include <features.h>
+
+hidden unsigned long __getauxval(unsigned long);
+
+#endif
diff --git a/libc-top-half/musl/src/include/sys/membarrier.h b/libc-top-half/musl/src/include/sys/membarrier.h
new file mode 100644
index 0000000..3654491
--- /dev/null
+++ b/libc-top-half/musl/src/include/sys/membarrier.h
@@ -0,0 +1,9 @@
+#ifndef SYS_MEMBARRIER_H
+#define SYS_MEMBARRIER_H
+
+#include "../../../include/sys/membarrier.h"
+#include <features.h>
+
+hidden int __membarrier(int, int);
+
+#endif
diff --git a/libc-top-half/musl/src/include/sys/mman.h b/libc-top-half/musl/src/include/sys/mman.h
new file mode 100644
index 0000000..57c5bd3
--- /dev/null
+++ b/libc-top-half/musl/src/include/sys/mman.h
@@ -0,0 +1,20 @@
+#ifndef SYS_MMAN_H
+#define SYS_MMAN_H
+
+#include "../../../include/sys/mman.h"
+
+hidden void __vm_wait(void);
+hidden void __vm_lock(void);
+hidden void __vm_unlock(void);
+
+hidden void *__mmap(void *, size_t, int, int, int, off_t);
+hidden int __munmap(void *, size_t);
+hidden void *__mremap(void *, size_t, size_t, int, ...);
+hidden int __madvise(void *, size_t, int);
+hidden int __mprotect(void *, size_t, int);
+
+hidden const unsigned char *__map_file(const char *, size_t *);
+
+hidden char *__shm_mapname(const char *, char *);
+
+#endif
diff --git a/libc-top-half/musl/src/include/sys/sysinfo.h b/libc-top-half/musl/src/include/sys/sysinfo.h
new file mode 100644
index 0000000..10be8a4
--- /dev/null
+++ b/libc-top-half/musl/src/include/sys/sysinfo.h
@@ -0,0 +1,9 @@
+#ifndef SYS_SYSINFO_H
+#define SYS_SYSINFO_H
+
+#include "../../../include/sys/sysinfo.h"
+#include <features.h>
+
+hidden int __lsysinfo(struct sysinfo *);
+
+#endif
diff --git a/libc-top-half/musl/src/include/sys/time.h b/libc-top-half/musl/src/include/sys/time.h
new file mode 100644
index 0000000..fb9622e
--- /dev/null
+++ b/libc-top-half/musl/src/include/sys/time.h
@@ -0,0 +1,8 @@
+#ifndef SYS_TIME_H
+#define SYS_TIME_H
+
+#include "../../../include/sys/time.h"
+
+hidden int __futimesat(int, const char *, const struct timeval [2]);
+
+#endif