ack/mach/xenix3/libsys/wait.c

12 lines
122 B
C
Raw Normal View History

1987-10-06 16:39:14 +00:00
long _wait();
wait(p)
int *p;
{
long l = _wait();
if (l == -1) return -1;
1988-07-13 16:55:48 +00:00
if (p) *p = (l >> 16);
1987-10-06 16:39:14 +00:00
return (int) l;
}