1/* 2 * Copyright 2019 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _GNU_SPAWN_H_ 6#define _GNU_SPAWN_H_ 7 8 9#include_next <spawn.h> 10 11 12#ifdef _GNU_SOURCE 13 14 15#ifdef __cplusplus 16extern "C" { 17#endif 18 19extern int posix_spawn_file_actions_addchdir_np( 20 posix_spawn_file_actions_t *file_actions, const char *path); 21extern int posix_spawn_file_actions_addfchdir_np( 22 posix_spawn_file_actions_t *file_actions, int fildes); 23 24#ifdef __cplusplus 25} 26#endif 27 28 29#endif 30 31 32#endif /* _GNU_SPAWN_H_ */ 33 34