ack/mach/i386/libsys/wait.c
1989-10-10 11:40:55 +00:00

12 lines
125 B
C

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