summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-04-29 20:49:18 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-29 22:01:27 +0200
commit910532b8dc65cb1bb9e1802d72473250d99ea28a (patch)
tree6b83d261083699e6ade2153ed2bb1b1a7a7b6c49 /Userland/Libraries/LibC
parent577b4c73b0ae4dd9163be483de0b50d9d468c690 (diff)
downloadserenity-910532b8dc65cb1bb9e1802d72473250d99ea28a.zip
LibC: Add more _POSIX_FOO constants to unistd.h
Let's advertise more of our POSIX capabilities. :^)
Diffstat (limited to 'Userland/Libraries/LibC')
-rw-r--r--Userland/Libraries/LibC/unistd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/unistd.h b/Userland/Libraries/LibC/unistd.h
index b6e56d9591..a5082dcd03 100644
--- a/Userland/Libraries/LibC/unistd.h
+++ b/Userland/Libraries/LibC/unistd.h
@@ -129,8 +129,17 @@ enum {
_PC_LINK_MAX
};
+#define _POSIX_FSYNC 200112L
+#define _POSIX_MAPPED_FILES 200112L
+#define _POSIX_MEMORY_PROTECTION 200112L
#define _POSIX_MONOTONIC_CLOCK 200112L
-#define _POSIX_SAVED_IDS
+#define _POSIX_RAW_SOCKETS 200112L
+#define _POSIX_REGEXP 1
+#define _POSIX_SAVED_IDS 1
+#define _POSIX_SPAWN 200112L
+#define _POSIX_THREADS 200112L
+#define _POSIX_THREAD_ATTR_STACKADDR 200112L
+#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
#define _POSIX_TIMERS 200809L
/*