chiark
/
gitweb
/
~mdw
/
qmail
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
addrcheck: Don't spew userv error messages at SMTP clients.
[qmail]
/
wait_nohang.c
1
#include <sys/types.h>
2
#include <sys/wait.h>
3
#include "haswaitp.h"
4
5
int wait_nohang(wstat) 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
}