diff options
author | Ron Yorston <rmy@pobox.com> | 2012-04-23 10:14:18 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-04-23 10:14:18 +0100 |
commit | ece4cb7f6debdb741b8a43053aeea817b80f49e7 (patch) | |
tree | a97498a671ef3ddb5691396ec771cbd0bb2514bf /include | |
parent | 073257d2d34097e4ace7daa5882b090c07d528cc (diff) | |
download | busybox-w32-ece4cb7f6debdb741b8a43053aeea817b80f49e7.tar.gz busybox-w32-ece4cb7f6debdb741b8a43053aeea817b80f49e7.tar.bz2 busybox-w32-ece4cb7f6debdb741b8a43053aeea817b80f49e7.zip |
win32: add popen implementation that uses shell
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index 910eff412..b81a6e180 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -139,6 +139,11 @@ int mingw_rename(const char*, const char*); | |||
139 | #define fopen mingw_fopen | 139 | #define fopen mingw_fopen |
140 | #define rename mingw_rename | 140 | #define rename mingw_rename |
141 | 141 | ||
142 | FILE *mingw_popen(const char *cmd, const char *mode); | ||
143 | int mingw_pclose(FILE *fd); | ||
144 | #define popen mingw_popen | ||
145 | #define pclose mingw_pclose | ||
146 | |||
142 | #define setlinebuf(fd) setvbuf(fd, (char *) NULL, _IOLBF, 0) | 147 | #define setlinebuf(fd) setvbuf(fd, (char *) NULL, _IOLBF, 0) |
143 | 148 | ||
144 | /* | 149 | /* |