diff options
Diffstat (limited to 'src/wait_nohang.c')
-rw-r--r-- | src/wait_nohang.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/wait_nohang.c b/src/wait_nohang.c deleted file mode 100644 index 5c9c53d..0000000 --- a/src/wait_nohang.c +++ /dev/null @@ -1,14 +0,0 @@ -/* Public domain. */ - -#include <sys/types.h> -#include <sys/wait.h> -#include "haswaitp.h" - -int wait_nohang(wstat) int *wstat; -{ -#ifdef HASWAITPID - return waitpid(-1,wstat,WNOHANG); -#else - return wait3(wstat,WNOHANG,(struct rusage *) 0); -#endif -} |