aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-05-27 15:10:16 +0100
committerRon Yorston <rmy@pobox.com>2015-05-27 15:10:16 +0100
commit42c4505e1e5eb96314176e7b7c1b28adcce22310 (patch)
tree4cbcb93cc55ace0c1e41c03d01fc0711b0ad677f /include/mingw.h
parent0711c1f4eda3f10d8295ca0d9eb50e1a380baa86 (diff)
downloadbusybox-w32-42c4505e1e5eb96314176e7b7c1b28adcce22310.tar.gz
busybox-w32-42c4505e1e5eb96314176e7b7c1b28adcce22310.tar.bz2
busybox-w32-42c4505e1e5eb96314176e7b7c1b28adcce22310.zip
mingw: define a macro for spawn
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 84522f032..d6ed909b5 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -433,12 +433,13 @@ int utimes(const char *file_name, const struct timeval times[2]);
433#define is_dir_sep(c) ((c) == '/' || (c) == '\\') 433#define is_dir_sep(c) ((c) == '/' || (c) == '\\')
434#define PRIuMAX "I64u" 434#define PRIuMAX "I64u"
435 435
436pid_t mingw_spawn(char **argv); 436pid_t FAST_FUNC mingw_spawn(char **argv);
437int mingw_execv(const char *cmd, const char *const *argv); 437int mingw_execv(const char *cmd, const char *const *argv);
438int mingw_execvp(const char *cmd, const char *const *argv); 438int mingw_execvp(const char *cmd, const char *const *argv);
439int mingw_execve(const char *cmd, const char *const *argv, const char *const *envp); 439int mingw_execve(const char *cmd, const char *const *argv, const char *const *envp);
440pid_t mingw_spawn_applet(int mode, const char *applet, const char *const *argv, const char *const *envp); 440pid_t mingw_spawn_applet(int mode, const char *applet, const char *const *argv, const char *const *envp);
441pid_t mingw_spawn_1(int mode, const char *cmd, const char *const *argv, const char *const *envp); 441pid_t mingw_spawn_1(int mode, const char *cmd, const char *const *argv, const char *const *envp);
442#define spawn mingw_spawn
442#define execvp mingw_execvp 443#define execvp mingw_execvp
443#define execve mingw_execve 444#define execve mingw_execve
444#define execv mingw_execv 445#define execv mingw_execv