From e061b6da5ee46a334169d4e6a52e49857ae22f55 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 26 Apr 2024 17:42:44 -0400 Subject: config: Move .c files into config/{use,has} subdirectories --- config/has/posix-spawn-addfchdir.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/has/posix-spawn-addfchdir.c (limited to 'config/has/posix-spawn-addfchdir.c') diff --git a/config/has/posix-spawn-addfchdir.c b/config/has/posix-spawn-addfchdir.c new file mode 100644 index 0000000..c52ff81 --- /dev/null +++ b/config/has/posix-spawn-addfchdir.c @@ -0,0 +1,11 @@ +// Copyright © Tavian Barnes +// SPDX-License-Identifier: 0BSD + +#include + +int main(void) { + posix_spawn_file_actions_t actions; + posix_spawn_file_actions_init(&actions); + posix_spawn_file_actions_addfchdir(&actions, 3); + return 0; +} -- cgit v1.2.3