Last change
on this file since 36231 was 15532, checked in by vboxsync, 16 years ago |
crOpenGL: export to OSE
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
|
File size:
907 bytes
|
Line | |
---|
1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_PROCESS_H
|
---|
8 | #define CR_PROCESS_H
|
---|
9 |
|
---|
10 | #ifdef WINDOWS
|
---|
11 | #define WIN32_LEAN_AND_MEAN
|
---|
12 | #include <windows.h>
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | #include <iprt/cdefs.h>
|
---|
16 |
|
---|
17 | #ifdef __cplusplus
|
---|
18 | extern "C" {
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Process ID type
|
---|
23 | */
|
---|
24 | #ifdef WINDOWS
|
---|
25 | typedef HANDLE CRpid;
|
---|
26 | #else
|
---|
27 | typedef unsigned long CRpid;
|
---|
28 | #endif
|
---|
29 |
|
---|
30 |
|
---|
31 | extern DECLEXPORT(void) crSleep( unsigned int seconds );
|
---|
32 |
|
---|
33 | extern DECLEXPORT(void) crMsleep( unsigned int msec );
|
---|
34 |
|
---|
35 | extern DECLEXPORT(CRpid) crSpawn( const char *command, const char *argv[] );
|
---|
36 |
|
---|
37 | extern DECLEXPORT(void) crKill( CRpid pid );
|
---|
38 |
|
---|
39 | extern DECLEXPORT(void) crGetProcName( char *name, int maxLen );
|
---|
40 |
|
---|
41 | extern DECLEXPORT(void) crGetCurrentDir( char *dir, int maxLen );
|
---|
42 |
|
---|
43 | extern DECLEXPORT(CRpid) crGetPID(void);
|
---|
44 |
|
---|
45 |
|
---|
46 | #ifdef __cplusplus
|
---|
47 | }
|
---|
48 | #endif
|
---|
49 |
|
---|
50 | #endif /* CR_PROCESS_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.