author | Rich Felker <dalias@aerifal.cx> | 2019年08月30日 16:21:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019年08月30日 16:21:36 -0400 |
commit | 74244e5b3ed4a61d99c5fc0967b69e5c9a753456 (patch) | |
tree | 5951d09c6a630f738fedd84566289b89b81fa099 /include/spawn.h | |
parent | f76e183111bc4491ee575c3e2fcc793412acff4e (diff) | |
download | musl-74244e5b3ed4a61d99c5fc0967b69e5c9a753456.tar.gz |
-rw-r--r-- | include/spawn.h | 5 |
diff --git a/include/spawn.h b/include/spawn.h index c9bd1939..8eb73e00 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -71,6 +71,11 @@ int posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *__restrict, int int posix_spawn_file_actions_addclose(posix_spawn_file_actions_t *, int); int posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *, int, int); +#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) +int posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *__restrict, const char *__restrict); +int posix_spawn_file_actions_addfchdir_np(posix_spawn_file_actions_t *, int); +#endif + #ifdef __cplusplus } #endif |