ack/mach/minixST/libsys/wait.c
1989-11-03 09:25:46 +00:00

11 lines
189 B
C

#include "lib.h"
PUBLIC int wait(status)
int *status;
{
int k;
k = callm1(MM, WAIT, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
if (k >= 0 && status != 0) *status = M.m2_i1;
return(k);
}