ucspi-ssl  0.99e
TLS encryption for IPv6 communication
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 }
int wait_nohang(int *wstat)
Definition: wait_nohang.c:7