diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 17:28:52 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 18:24:51 -0500 |
commit | f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch) | |
tree | 93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/posix/include/sys/mman.h | |
parent | bd5969fc876a10b18613302db7087ef3c40f18e1 (diff) |
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/posix/include/sys/mman.h')
-rw-r--r-- | lib/mlibc/options/posix/include/sys/mman.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/lib/mlibc/options/posix/include/sys/mman.h b/lib/mlibc/options/posix/include/sys/mman.h deleted file mode 100644 index 784878e..0000000 --- a/lib/mlibc/options/posix/include/sys/mman.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef _SYS_MMAN_H -#define _SYS_MMAN_H - -#include <mlibc-config.h> -#include <abi-bits/mode_t.h> -#include <abi-bits/vm-flags.h> -#include <bits/off_t.h> -#include <bits/size_t.h> - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __MLIBC_ABI_ONLY - -void *mmap(void *, size_t, int, int, int, off_t); -int mprotect(void *, size_t, int); -int munmap(void *, size_t); - -int mlock(const void *, size_t); -int mlockall(int); -int munlock(const void *, size_t); -int munlockall(void); - -int posix_madvise(void *, size_t, int); -int msync(void *, size_t, int); - -int shm_open(const char *, int, mode_t); -int shm_unlink(const char *); - -// Linux extension: -void *mremap(void *, size_t, size_t, int, ...); -int remap_file_pages(void *, size_t, int, size_t, int); - -#if __MLIBC_LINUX_OPTION -int memfd_create(const char *, unsigned int); -int madvise(void *, size_t, int); -int mincore(void *, size_t, unsigned char *); -#endif /* __MLIBC_LINUX_OPTION */ - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _SYS_MMAN_H |