aboutsummaryrefslogtreecommitdiff
path: root/shell/ash_mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash_mingw.h')
-rw-r--r--shell/ash_mingw.h17
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 @@
1struct forkshell {
2 const char *fp;
3 union node *n;
4 int flags;
5 struct child_process cmd;
6 int fd;
7};
8
9static int forkshell_init(struct forkshell *fs);
10static void forkshell_transfer(struct forkshell *fs);
11static void forkshell_transfer_done(struct forkshell *fs);
12static void forkshell_cleanup(struct forkshell *fs);
13static int forkshell(const char *fp, union node *n, int flags);
14static void subshell_run();
15
16static int subash_fd = -1;
17static char subash_entry[16];