fehQlibs 27
Qlibs
Loading...
Searching...
No Matches
wait.h File Reference

Go to the source code of this file.

Macros

#define wait_crashed(w)
 
#define wait_exitcode(w)
 
#define wait_stopsig(w)
 
#define wait_stopped(w)
 

Functions

int wait_pid (int *, int)
 
int wait_nohang (int *)
 
int wait_stop (void)
 
int wait_stopnohang (void)
 

Detailed Description

Author
djb s/qmail

Definition in file wait.h.

Macro Definition Documentation

◆ wait_crashed

#define wait_crashed ( w)
Value:
((w) & 127)

Definition at line 15 of file wait.h.

◆ wait_exitcode

#define wait_exitcode ( w)
Value:
((w) >> 8)

Definition at line 16 of file wait.h.

◆ wait_stopped

#define wait_stopped ( w)
Value:
(((w) & 127) == 127)

Definition at line 18 of file wait.h.

◆ wait_stopsig

#define wait_stopsig ( w)
Value:
((w) >> 8)

Definition at line 17 of file wait.h.

Function Documentation

◆ wait_nohang()

int wait_nohang ( int * wstat)

Definition at line 12 of file wait.c.

◆ wait_pid()

int wait_pid ( int * wstat,
int pid )

Definition at line 17 of file wait.c.

◆ wait_stop()

int wait_stop ( void )

◆ wait_stopnohang()

int wait_stopnohang ( void )