wait

wait

Functions

#define WEXITSTATUS()
#define WIFCONTINUED()
#define WIFEXITED()
#define WIFSIGNALED()
#define WIFSTOPPED()
#define WSTOPSIG()
#define WTERMSIG()
pid_t wait ()
pid_t waitpid ()

Types and Values

#define id_t
enum idtype_t
#define pid_t
#define WNOHANG
#define WUNTRACED
#define WEXITED
#define WSTOPPED
#define WCONTINUED
#define WNOWAIT

Description

Functions

WEXITSTATUS()

# define WEXITSTATUS(status) ((status >> 8) & 0xff)

WIFCONTINUED()

# define WIFCONTINUED(status) (0) /* FIXME */

WIFEXITED()

# define WIFEXITED(status) ((status & 0x7f) == 0x00)

WIFSIGNALED()

#define             WIFSIGNALED(status)

WIFSTOPPED()

# define WIFSTOPPED(status) ((status & 0x7f) == 0x7f)

WSTOPSIG()

# define WSTOPSIG(status) ((status >> 8) & 0xff)

WTERMSIG()

# define WTERMSIG(status) (status & 0x7f)

wait ()

pid_t
wait (int *status);

waitpid ()

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

Types and Values

id_t

#define             id_t

enum idtype_t

Members

P_ALL

   

P_PID

   

P_PGID

   

pid_t

#define             pid_t

WNOHANG

# define WNOHANG 0		/* FIXME */

WUNTRACED

# define WUNTRACED 0		/* FIXME */

WEXITED

# define WEXITED 0		/* FIXME */

WSTOPPED

# define WSTOPPED 0		/* FIXME */

WCONTINUED

# define WCONTINUED 0		/* FIXME */

WNOWAIT

# define WNOWAIT 0		/* FIXME */