wait.h

Overview

Related Modules:

PROCESS

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 Name

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.