1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/wince/process.c
matz 90c4dae08f WinCE patch merged
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02 07:57:17 +00:00

47 lines
786 B
C

/***************************************************************
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;
}