summaryrefslogtreecommitdiffstats
path: root/config/has/posix-spawn-addfchdir.c
blob: c52ff81f2ea6f9887e5ec63ffd960be061b408dc (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <spawn.h>

int main(void) {
	posix_spawn_file_actions_t actions;
	posix_spawn_file_actions_init(&actions);
	posix_spawn_file_actions_addfchdir(&actions, 3);
	return 0;
}