diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-02 07:57:17 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-02 07:57:17 +0000 |
| commit | 4d6d2ae1b417133546c56b3150ef51fa7647e2dc (patch) | |
| tree | 4198e3ccd0a5bab17db2a0f82ee7b6c643115c69 /wince/process.c | |
| parent | 1668ec3e5ce555161454e9b2657c89dc27fa1364 (diff) | |
| download | ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.tar.gz ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.tar.xz ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.zip | |
WinCE patch merged
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/process.c')
| -rw-r--r-- | wince/process.c | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/wince/process.c b/wince/process.c new file mode 100644 index 000000000..4415ad024 --- /dev/null +++ b/wince/process.c @@ -0,0 +1,47 @@ +/*************************************************************** + process.c +***************************************************************/ + +#include <windows.h> +#include "process.h" + +int _getpid(void) +{ + return (int)GetCurrentProcessId(); +} + +/* I wonder _exec and _swawn should be replaced with CreateProcess... */ +int _execl(const char *cmdname, const char *arg0, + va_list va_args) +{ + return 0; +} + +int execv(const char *path, char *const argv[]) +{ + return 0; +} + +void abort(void) +{ +} + +int _cwait( int *termstat, int procHandle, int action ) +{ + return 0; +} + +intptr_t _spawnle(int mode, + const char *cmdname, const char *arg0, + va_list va_argn) +{ + return 0; +} + +intptr_t _spawnvpe(int mode, + const char *cmdname, const char *const *argv, + const char *const *envp) +{ + return 0; +} + |
