search for: w_status

Displaying 2 results from an estimated 2 matches for "w_status".

Did you mean: _status
2001 Mar 25
2
Bug in bsd-waitpid.c and bsd-nextstep.c
...s Fax. +49 355 69-4153 -------------- next part -------------- --- bsd-nexstep.c.org Sun Mar 25 15:08:05 2001 +++ bsd-nextstep.c Sun Mar 25 15:09:42 2001 @@ -37,7 +37,8 @@ #undef wait /* Use NeXT's wait() function */ wait_pid = wait(&statusp); - status = (int *) statusp.w_status; + if (status) + *status = (int)statusp.w_status; return wait_pid; } --- bsd-waitpid.c.org Sun Mar 25 15:06:20 2001 +++ bsd-waitpid.c Sun Mar 25 15:07:36 2001 @@ -43,7 +43,8 @@ pid = 0; /* wait4() wants pid=0 for indiscriminate wait. */ } wait_pid = wait4(pid, &statusp, op...
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
...includes.h" #ifdef HAVE_NEXT @@ -8,46 +30,32 @@ pid_t posix_wait(int *status) { - #undef wait /* Use NeXT's wait() function */ union wait statusp; pid_t wait_pid; + #undef wait /* Use NeXT's wait() function */ wait_pid = wait(&statusp); status = (int *) statusp.w_status; return wait_pid; } - -int -posix_utime(char *filename,struct utimbuf *buf) -{ - time_t timep[2]; - - timep[0] = buf->actim...