| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
#ifdef __CYGWIN__ |
| 9 |
|
| 10 |
#include "wait.h" |
| 11 |
|
| 12 |
#ifdef __cplusplus |
| 13 |
extern "C" { |
| 14 |
#endif |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
pid_t cygwin_wait (int * __status){ |
| 28 |
return wait ((__wait_status_ptr_t) __status); |
| 29 |
} |
| 30 |
|
| 31 |
pid_t cygwin_waitpid (pid_t __pid, int * __status, int __options){ |
| 32 |
return waitpid (__pid, (__wait_status_ptr_t) __status, __options); |
| 33 |
} |
| 34 |
|
| 35 |
pid_t cygwin_wait3 (int * __status, int __options, struct rusage *__rusage){ |
| 36 |
return wait3 ((__wait_status_ptr_t) __status, __options, __rusage); |
| 37 |
} |
| 38 |
|
| 39 |
pid_t cygwin_wait4 (pid_t __pid, int * __status, int __options, struct rusage *__rusage){ |
| 40 |
return wait4 (__pid, (__wait_status_ptr_t) __status, __options, __rusage); |
| 41 |
} |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
} |
| 45 |
#endif |
| 46 |
|
| 47 |
#endif |