diff options
Diffstat (limited to 'shell/ash_mingw.h')
-rw-r--r-- | shell/ash_mingw.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/ash_mingw.h b/shell/ash_mingw.h new file mode 100644 index 000000000..658c7dae2 --- /dev/null +++ b/shell/ash_mingw.h | |||
@@ -0,0 +1,17 @@ | |||
1 | struct forkshell { | ||
2 | const char *fp; | ||
3 | union node *n; | ||
4 | int flags; | ||
5 | struct child_process cmd; | ||
6 | int fd; | ||
7 | }; | ||
8 | |||
9 | static int forkshell_init(struct forkshell *fs); | ||
10 | static void forkshell_transfer(struct forkshell *fs); | ||
11 | static void forkshell_transfer_done(struct forkshell *fs); | ||
12 | static void forkshell_cleanup(struct forkshell *fs); | ||
13 | static int forkshell(const char *fp, union node *n, int flags); | ||
14 | static void subshell_run(); | ||
15 | |||
16 | static int subash_fd = -1; | ||
17 | static char subash_entry[16]; | ||