We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f1ca6 commit 6025571Copy full SHA for 6025571
options/posix/include/unistd.h
@@ -37,6 +37,17 @@ extern "C" {
37
#define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION
38
#define _POSIX_MONOTONIC_CLOCK 0
39
40
+// mmap, msync, munmap
41
+#define _POSIX_MAPPED_FILES _POSIX_VERSION
42
+// mlockall, munlockall
43
+#define _POSIX_MEMLOCK _POSIX_VERSION
44
+// mlock, munlock
45
+#define _POSIX_MEMLOCK_RANGE _POSIX_VERSION
46
+// mmap, munmap, shm_open, shm_unlink
47
+#define _POSIX_SHARED_MEMORY_OBJECTS _POSIX_VERSION
48
+// open, msync, fsync, fdatasync
49
+#define _POSIX_SYNCHRONIZED_IO _POSIX_VERSION
50
+
51
/* MISSING: additional _POSIX and _XOPEN feature macros */
52
/* MISSING: _POSIX_TIMESTAMP_RESOLUTION and _POSIX2_SYMLINKS */
53
0 commit comments