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 #include <features.h> 11 12 13 #ifdef _DEFAULT_SOURCE 14 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 extern int posix_spawn_file_actions_addchdir_np( 21 posix_spawn_file_actions_t *file_actions, const char *path); 22 extern int posix_spawn_file_actions_addfchdir_np( 23 posix_spawn_file_actions_t *file_actions, int fildes); 24 25 #ifdef __cplusplus 26 } 27 #endif 28 29 30 #endif 31 32 33 #endif /* _GNU_SPAWN_H_ */ 34 35