s/qmail  3.3.23
Next generation secure email transport
wait_nohang.c
Go to the documentation of this file.
1 #include <sys/types.h>
2 #include <sys/wait.h>
3 #include "haswaitp.h"
4 
5 int wait_nohang(int *wstat)
6 {
7 #ifdef HASWAITPID
8  return waitpid(-1,wstat,WNOHANG);
9 #else
10  return wait3(wstat,WNOHANG,(struct rusage *) 0);
11 #endif
12 }
int wait_nohang(int *wstat)
Definition: wait_nohang.c:5