aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2016-05-17 08:29:14 +0100
committerRon Yorston <rmy@pobox.com>2016-05-18 08:43:42 +0100
commit4988f3c4cc3cb9e8b1ccb06e84768c177cb13385 (patch)
tree06f4b1b13ffab2c9ceb278d9d6e5b7caad2d2355 /include
parent864141a5cc9c52b0cbed7e248b846af42ce70162 (diff)
downloadbusybox-w32-4988f3c4cc3cb9e8b1ccb06e84768c177cb13385.tar.gz
busybox-w32-4988f3c4cc3cb9e8b1ccb06e84768c177cb13385.tar.bz2
busybox-w32-4988f3c4cc3cb9e8b1ccb06e84768c177cb13385.zip
win32: adjustments to spawn functions
Make mingw_spawn_applet and mingw_spawn_1 static. The return value from spawnve is an exit code in synchronous mode and a process handle in asynchronous mode. Pass these upwards without interpretation.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 555fa96b7..bfdf2cccd 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -453,8 +453,6 @@ pid_t FAST_FUNC mingw_spawn(char **argv);
453int mingw_execv(const char *cmd, const char *const *argv); 453int mingw_execv(const char *cmd, const char *const *argv);
454int mingw_execvp(const char *cmd, const char *const *argv); 454int mingw_execvp(const char *cmd, const char *const *argv);
455int mingw_execve(const char *cmd, const char *const *argv, const char *const *envp); 455int mingw_execve(const char *cmd, const char *const *argv, const char *const *envp);
456pid_t mingw_spawn_applet(int mode, const char *applet, const char *const *argv, const char *const *envp);
457pid_t mingw_spawn_1(int mode, const char *cmd, const char *const *argv, const char *const *envp);
458#define spawn mingw_spawn 456#define spawn mingw_spawn
459#define execvp mingw_execvp 457#define execvp mingw_execvp
460#define execve mingw_execve 458#define execve mingw_execve