diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-12-07 15:00:04 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-12-07 16:04:05 +0100 |
commit | 3a3fb7557274108ea3dc5ac62333c808a6c171db (patch) | |
tree | d021946546bdbbc80dedbf47dc608375cc7092a5 /posix/spawn_int.h | |
parent | c37cd4398a684010b39e0c09f1132757e11edbf1 (diff) | |
download | glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.gz glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.tar.bz2 glibc-3a3fb7557274108ea3dc5ac62333c808a6c171db.zip |
posix: New function posix_spawn_file_actions_addfchdir_np [BZ #17405]
Along with posix_spawn_file_actions_addchdir,
posix_spawn_file_actions_addfchdir is the subject of a change proposal
for POSIX: <http://austingroupbugs.net/view.php?id=1208>
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r-- | posix/spawn_int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h index 9db35553c2..0d0e438ff6 100644 --- a/posix/spawn_int.h +++ b/posix/spawn_int.h @@ -31,6 +31,7 @@ struct __spawn_action spawn_do_dup2, spawn_do_open, spawn_do_chdir, + spawn_do_fchdir, } tag; union @@ -55,6 +56,10 @@ struct __spawn_action { char *path; } chdir_action; + struct + { + int fd; + } fchdir_action; } action; }; |