ack/mach/i386/libsys/wait.c
1990-01-22 11:01:47 +00:00

12 lines
127 B
C

long _xwait();
wait(p)
int *p;
{
long l = _xwait();
if (l == -1) return -1;
if (p) *p = (l >> 16);
return l & 0xffff;
}