* include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for
[ruby-svn.git] / wince / process.h
blob2ef72a4ac191697bcdfda789d32136211f67f97f
1 #ifndef PROCESS_H
2 #define PROCESS_H 1
5 #define _P_WAIT 0
6 #define _P_NOWAIT 1
7 #define _P_OVERLAY 2
8 #define _P_DETACH 4
10 #define P_WAIT _P_WAIT
11 #define P_NOWAIT _P_NOWAIT
12 #define P_DETACH _P_DETACH
13 #define P_OVERLAY _P_OVERLAY
15 #ifndef _INTPTR_T_DEFINED
16 typedef int intptr_t;
17 #define _INTPTR_T_DEFINED
18 #endif
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 int _getpid(void);
26 int _cwait(int *, int, int);
27 void abort(void);
29 int _execl(const char *, const char *, ...);
30 //int _execv(const char *, const char * const *);
31 int execv(const char *path, char *const argv[]);
33 intptr_t _spawnle(int, const char *, const char *, ...);
34 intptr_t _spawnvpe(int, const char *, const char * const *,
35 const char * const *);
37 #ifdef __cplusplus
39 #endif
41 //#define getpid _getpid
42 #define execl _execl
43 #define execv _execv
46 #endif