[libc] Add POSIX functions posix_spawn_file_actions_*.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 10 Oct 2022 08:35:21 +0000 (08:35 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 11 Oct 2022 04:54:44 +0000 (04:54 +0000)
commit28943d617a478cbaf032f9c7ff3c9830e62bd0af
tree1bf5987c16f10c4c0463346c994a090a97ea9ada
parent66046e6e65e5dfe0b6e2222a467d07899a43b624
[libc] Add POSIX functions posix_spawn_file_actions_*.

Namely, posix_spawn_file_actions_addclose,
posix_spawn_file_actions_adddup2, posix_spawn_file_actions_addopen,
posix_spawn_file_actions_destroy, posix_spawn_file_actions_init have
been added.

Reviewed By: michaelrj, lntue

Differential Revision: https://reviews.llvm.org/D135603
23 files changed:
libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/include/CMakeLists.txt
libc/include/llvm-libc-types/CMakeLists.txt
libc/include/llvm-libc-types/posix_spawn_file_actions_t.h [new file with mode: 0644]
libc/include/spawn.h.def [new file with mode: 0644]
libc/spec/posix.td
libc/src/CMakeLists.txt
libc/src/spawn/CMakeLists.txt [new file with mode: 0644]
libc/src/spawn/file_actions.h [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_addclose.cpp [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_addclose.h [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_adddup2.cpp [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_adddup2.h [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_addopen.cpp [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_addopen.h [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_destroy.cpp [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_destroy.h [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_init.cpp [new file with mode: 0644]
libc/src/spawn/posix_spawn_file_actions_init.h [new file with mode: 0644]
libc/test/src/CMakeLists.txt
libc/test/src/spawn/CMakeLists.txt [new file with mode: 0644]
libc/test/src/spawn/posix_spawn_file_actions_test.cpp [new file with mode: 0644]