ucspi-ssl
0.99e
TLS encryption for IPv6 communication
ucspi-ssl-0.99e
src
wait_nohang.c
Go to the documentation of this file.
1
/* Public domain. */
2
3
#include <sys/types.h>
4
#include <sys/wait.h>
5
#include "haswaitp.h"
6
7
int
wait_nohang
(wstat)
int
*wstat;
8
{
9
#ifdef HASWAITPID
10
return
waitpid(-1,wstat,WNOHANG);
11
#else
12
return
wait3(wstat,WNOHANG,(
struct
rusage *) 0);
13
#endif
14
}
wait_nohang
int wait_nohang(int *wstat)
Definition:
wait_nohang.c:7
Generated on Wed Jul 11 2018 22:50:46 for ucspi-ssl by
1.8.13