diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-11-06 16:08:12 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-11-06 16:08:12 +0100 |
commit | 4a938cb273e164a475dc123cc80ea6354d7248d4 (patch) | |
tree | 607dad9fb23f1a248a8009758c03115528dde294 /posix/spawn.h | |
parent | 7597b0c7f711a6918d5804e08508817c72916376 (diff) | |
download | glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.gz glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.tar.xz glibc-4a938cb273e164a475dc123cc80ea6354d7248d4.zip |
posix: New function posix_spawn_file_actions_addchdir_np [BZ #17405]
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 */ |