ack/mach/minix/libsys/wait.c

11 lines
189 B
C
Raw Normal View History

1988-04-19 09:34:37 +00:00
#include "lib.h"
PUBLIC int wait(status)
int *status;
{
int k;
k = callm1(MM, WAIT, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
1989-11-03 09:25:46 +00:00
if (k >= 0 && status != 0) *status = M.m2_i1;
1988-04-19 09:34:37 +00:00
return(k);
}