aboutsummaryrefslogtreecommitdiff
path: root/posix/spawn_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/spawn_int.h')
-rw-r--r--posix/spawn_int.h5
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;
};