summaryrefslogtreecommitdiffstats
path: root/config/has/posix-spawn-addfchdir-np.c
blob: b870a53bba179f8141c2b21aed4f0533fdfca0bc (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_np(&actions, 3);
	return 0;
}