BSD syscall#7
svc · unix #7
wait4
Waits for a child process to change state and returns its resource usage.
Prototype
int wait4(int pid, user_addr_t status, int options, user_addr_t rusage);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| pid | int | - | |
| status | user_addr_t | - | |
| options | int | - | |
| rusage | user_addr_t | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 7 |
| xnu-1486.2.11 | — | 7 |
| xnu-1504.15.3 | — | 7 |
| xnu-1504.3.12 | — | 7 |
| xnu-1504.7.4 | — | 7 |
| xnu-1504.9.17 | — | 7 |
| xnu-1504.9.26 | — | 7 |
| xnu-1504.9.37 | — | 7 |
Notes
No prose documentation yet.