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.h | |
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.h')
-rw-r--r-- | wince/process.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/wince/process.h b/wince/process.h new file mode 100644 index 000000000..e4e9a32d1 --- /dev/null +++ b/wince/process.h @@ -0,0 +1,44 @@ +#ifndef PROCESS_H +#define PROCESS_H 1 + + +#define _P_WAIT 0 +#define _P_NOWAIT 1 +#define _P_DETACH 4 + +#define P_WAIT _P_WAIT +#define P_NOWAIT _P_NOWAIT +#define P_DETACH _P_DETACH + +#ifndef _INTPTR_T_DEFINED +typedef int intptr_t; +#define _INTPTR_T_DEFINED +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +int _getpid(void); + +int _cwait(int *, int, int); +void abort(void); + +int _execl(const char *, const char *, ...); +//int _execv(const char *, const char * const *); +int execv(const char *path, char *const argv[]); + +intptr_t _spawnle(int, const char *, const char *, ...); +intptr_t _spawnvpe(int, const char *, const char * const *, + const char * const *); + +#ifdef __cplusplus +}; +#endif + +//#define getpid _getpid +#define execl _execl +#define execv _execv + + +#endif |