LibC: Support attrs and file actions in posix spawn

Apparently GCC wants to use posix_spawn now that it is available, this
patch adds support for the missing fields. POSIX Issue 8 did add some
fields that are not supported here
This commit is contained in:
2026-01-25 01:43:45 +02:00
parent aef536fff3
commit 7843d3de62
3 changed files with 346 additions and 34 deletions

View File

@@ -41,7 +41,7 @@ __BEGIN_DECLS
#define _POSIX_SEMAPHORES -1 /* sem_{close,destroy,getvalue,init,open,post,trywait,unlink,wait} */
#define _POSIX_SHARED_MEMORY_OBJECTS -1 /* shm_{open,unlink} */
#define _POSIX_SHELL 200809L
#define _POSIX_SPAWN -1 /* posix_spawn* */
#define _POSIX_SPAWN 200809L
#define _POSIX_SPIN_LOCKS 200809L
#define _POSIX_SPORADIC_SERVER -1 /* sched_{setparam,setscheduler} with SCHED_SPORADIC */
#define _POSIX_SYNCHRONIZED_IO 200809L