LibC: Add more _POSIX_FOO constants to unistd.h

Let's advertise more of our POSIX capabilities. :^)
This commit is contained in:
Andreas Kling 2022-04-29 20:49:18 +02:00
parent 577b4c73b0
commit 910532b8dc
Notes: sideshowbarker 2024-07-17 11:27:23 +09:00

View File

@ -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
/*