libc: initial implementation of posix_spawn

This commit is contained in:
2026-05-30 10:02:45 +01:00
parent 2413538cb6
commit bfd191a336
9 changed files with 406 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
#ifndef LIBC_EXEC_SPAWN_FILE_ACTIONS_H_
#define LIBC_EXEC_SPAWN_FILE_ACTIONS_H_
#include <spawn.h>
struct __posix_spawn_file_actions {
long temp[4];
};
_Static_assert(
sizeof(struct __posix_spawn_file_actions)
<= __POSIX_SPAWN_FILE_ACTIONS_SIZE__,
"struct __posix_spawn_file_actions is too big");
#endif