~ubuntu-branches/ubuntu/hardy/ruby1.8/hardy-updates

« back to all changes in this revision

Viewing changes to wince/process_wce.c

  • Committer: Bazaar Package Importer
  • Author(s): akira yamada
  • Date: 2007-03-13 22:11:58 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070313221158-h3oql37brlaf2go2
Tags: 1.8.6-1
* new upstream version, 1.8.6.
* libruby1.8 conflicts with libopenssl-ruby1.8 (< 1.8.6) (closes: #410018)
* changed packaging style to cdbs from dbs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************
 
2
  process.c
 
3
***************************************************************/
 
4
 
 
5
#include <windows.h>
 
6
#include "process.h"
 
7
 
 
8
int _getpid(void)
 
9
{
 
10
        return (int)GetCurrentProcessId();
 
11
}
 
12
 
 
13
/* I wonder _exec and _swawn should be replaced with CreateProcess... */
 
14
int _execl(const char *cmdname, const char *arg0, 
 
15
                   va_list va_args)
 
16
{
 
17
        return 0;
 
18
}
 
19
 
 
20
int execv(const char *path, char *const argv[])
 
21
{
 
22
        return 0;
 
23
}
 
24
 
 
25
void abort(void)
 
26
{
 
27
}
 
28
 
 
29
int _cwait( int *termstat, int procHandle, int action )
 
30
{
 
31
        return 0;
 
32
}
 
33
 
 
34
intptr_t _spawnle(int mode, 
 
35
        const char *cmdname, const char *arg0,
 
36
        va_list va_argn)
 
37
{
 
38
        return 0;
 
39
}
 
40
 
 
41
intptr_t _spawnvpe(int mode,
 
42
        const char *cmdname, const char *const *argv,
 
43
        const char *const *envp)
 
44
{
 
45
        return 0;
 
46
}
 
47