diff options
Diffstat (limited to 'posix/spawn.h')
-rw-r--r-- | posix/spawn.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/posix/spawn.h b/posix/spawn.h index aafb27611c..c84ee4bf72 100644 --- a/posix/spawn.h +++ b/posix/spawn.h @@ -185,6 +185,13 @@ extern int posix_spawn_file_actions_adddup2 (posix_spawn_file_actions_t * __file_actions, int __fd, int __newfd) __THROW; +#ifdef __USE_GNU +/* Add an action changing the directory to PATH during spawn. This + affects the subsequent file actions. */ +extern int posix_spawn_file_actions_addchdir_np (posix_spawn_file_actions_t *, + const char *__path) __THROW; +#endif + __END_DECLS #endif /* spawn.h */ |