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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/posix/spawn_int.h b/posix/spawn_int.h
index c579cb9..81d43f2 100644
--- a/posix/spawn_int.h
+++ b/posix/spawn_int.h
@@ -20,6 +20,7 @@
#define _SPAWN_INT_H
#include <spawn.h>
+#include <spawn_int_def.h>
#include <stdbool.h>
/* Data structure to contain the action information. */
@@ -32,6 +33,7 @@ struct __spawn_action
spawn_do_open,
spawn_do_chdir,
spawn_do_fchdir,
+ spawn_do_closefrom,
} tag;
union
@@ -60,6 +62,10 @@ struct __spawn_action
{
int fd;
} fchdir_action;
+ struct
+ {
+ int from;
+ } closefrom_action;
} action;
};