1 (* !!! just copied from linux, not generated from osx-ppc host *)
2 MODULE PosixCsys_wait
['sys
/wait
.h'
];
4 IMPORT SYSTEM
, PosixCtypes
, PosixCsys_types
, PosixCsignal
;
7 char
* = PosixCtypes
.char
;
8 signed_char
* = PosixCtypes
.signed_char
;
9 unsigned_char
* = PosixCtypes
.unsigned_char
;
10 short
* = PosixCtypes
.short
;
11 short_int
* = PosixCtypes
.short_int
;
12 signed_short
* = PosixCtypes
.signed_short
;
13 signed_short_int
* = PosixCtypes
.signed_short_int
;
14 unsigned_short
* = PosixCtypes
.unsigned_short
;
15 unsigned_short_int
* = PosixCtypes
.unsigned_short_int
;
16 int
* = PosixCtypes
.int
;
17 signed
* = PosixCtypes
.signed
;
18 signed_int
* = PosixCtypes
.signed_int
;
19 unsigned
* = PosixCtypes
.unsigned
;
20 unsigned_int
* = PosixCtypes
.unsigned_int
;
21 long
* = PosixCtypes
.long
;
22 long_int
* = PosixCtypes
.long_int
;
23 signed_long
* = PosixCtypes
.signed_long
;
24 signed_long_int
* = PosixCtypes
.signed_long_int
;
25 unsigned_long
* = PosixCtypes
.unsigned_long
;
26 unsigned_long_int
* = PosixCtypes
.unsigned_long_int
;
27 long_long
* = PosixCtypes
.long_long
;
28 long_long_int
* = PosixCtypes
.long_long_int
;
29 signed_long_long
* = PosixCtypes
.signed_long_long
;
30 signed_long_long_int
* = PosixCtypes
.signed_long_long_int
;
31 unsigned_long_long
* = PosixCtypes
.unsigned_long_long
;
32 unsigned_long_long_int
* = PosixCtypes
.unsigned_long_long_int
;
33 float
* = PosixCtypes
.float
;
34 double
* = PosixCtypes
.double
;
35 long_double
* = PosixCtypes
.long_double
;
56 id_t
* = PosixCsys_types
.id_t
;
57 pid_t
* = PosixCsys_types
.pid_t
;
60 siginfo_t
* = PosixCsignal
.siginfo_t
;
62 PROCEDURE [ccall
] wait
* (VAR [nil
] wstatus
: int
): pid_t
;
63 PROCEDURE [ccall
] waitid
* (idtype
: idtype_t
; id
: id_t
; VAR [nil
] infop
: siginfo_t
; options
: int
): int
;
64 PROCEDURE [ccall
] waitpid
* (pid
: pid_t
; VAR [nil
] wstatus
: int
; options
: int
): pid_t
;