ack/mach/i386/libsys/wait.c

12 lines
125 B
C
Raw Normal View History

1989-10-10 11:40:55 +00:00
long _wait();
wait(p)
int *p;
{
long l = _wait();
if (l == -1) return -1;
if (p) *p = (l >> 16);
return l & 0xffff;
}