This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add POSIX functions posix_spawn_file_actions_*.
ClosedPublic

Authored by sivachandra on Oct 10 2022, 10:30 AM.

Details

Summary

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.

Diff Detail

Event Timeline

sivachandra created this revision.Oct 10 2022, 10:30 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 10 2022, 10:30 AM
sivachandra requested review of this revision.Oct 10 2022, 10:30 AM
lntue accepted this revision.Oct 10 2022, 2:06 PM
lntue added inline comments.
libc/include/spawn.h.def
10

Is the header guard correct?

This revision is now accepted and ready to land.Oct 10 2022, 2:06 PM

Fix a copy-paste error in a header guard.

michaelrj accepted this revision.Oct 10 2022, 4:01 PM

add spawn to config/linux/x86_64/headers.txt, other than that LGTM