# wait.h - [Overview](#section683276346165630) - [Summary](#section1628212685165630) - [Functions](#func-members) ## **Overview** **Related Modules:** [PROCESS](PROCESS.md) **Description:** Provides process- and thread-related structures and functions \(for example, waiting for child processes to end and reclaiming resources\). **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Functions

Function

Description

wait (int *status)

pid_t

Waits for any child process to end and reclaims its resources.

waitpid (pid_t pid, int *status, int options)

pid_t

Waits for a specified child process to end and reclaims its resources.