diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -929,20 +929,6 @@ char *timestring(time_t t) return(TimeBuf); } - -/**************************************************************************** - like waitpid but does the WEXITSTATUS -****************************************************************************/ -#ifndef WEXITSTATUS -#define WEXITSTATUS(stat) ((int)(((stat)>>8)&0xFF)) -#endif -void wait_process(pid_t pid, int *status) -{ - waitpid(pid, status, 0); - *status = WEXITSTATUS(*status); -} - - #ifdef __INSURE__ #include <dlfcn.h> |