Back to index

glibc  2.9
Defines | Functions
wait.h File Reference
#include <features.h>
#include <signal.h>
#include <sys/resource.h>
#include <bits/waitflags.h>
#include <bits/waitstatus.h>

Go to the source code of this file.

Defines

#define __WAIT_INT(status)   (status)
#define __WAIT_STATUS   int *
#define __WAIT_STATUS_DEFN   int *
#define WEXITSTATUS(status)   __WEXITSTATUS(__WAIT_INT(status))
#define WTERMSIG(status)   __WTERMSIG(__WAIT_INT(status))
#define WSTOPSIG(status)   __WSTOPSIG(__WAIT_INT(status))
#define WIFEXITED(status)   __WIFEXITED(__WAIT_INT(status))
#define WIFSIGNALED(status)   __WIFSIGNALED(__WAIT_INT(status))
#define WIFSTOPPED(status)   __WIFSTOPPED(__WAIT_INT(status))

Functions

__pid_t wait (__WAIT_STATUS __stat_loc)
__pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options)

Define Documentation

#define __WAIT_INT (   status)    (status)

Definition at line 73 of file wait.h.

#define __WAIT_STATUS   int *

Definition at line 74 of file wait.h.

#define __WAIT_STATUS_DEFN   int *

Definition at line 75 of file wait.h.

Definition at line 82 of file wait.h.

#define WIFEXITED (   status)    __WIFEXITED(__WAIT_INT(status))

Definition at line 85 of file wait.h.

Definition at line 86 of file wait.h.

Definition at line 87 of file wait.h.

#define WSTOPSIG (   status)    __WSTOPSIG(__WAIT_INT(status))

Definition at line 84 of file wait.h.

#define WTERMSIG (   status)    __WTERMSIG(__WAIT_INT(status))

Definition at line 83 of file wait.h.


Function Documentation

__pid_t wait ( __WAIT_STATUS  __stat_loc)

Here is the caller graph for this function:

__pid_t waitpid ( __pid_t  __pid,
int __stat_loc,
int  __options 
)

Here is the caller graph for this function: