initial version
This commit is contained in:
11
mach/i386/libsys/wait.c
Normal file
11
mach/i386/libsys/wait.c
Normal file
@@ -0,0 +1,11 @@
|
||||
long _wait();
|
||||
|
||||
wait(p)
|
||||
int *p;
|
||||
{
|
||||
long l = _wait();
|
||||
|
||||
if (l == -1) return -1;
|
||||
if (p) *p = (l >> 16);
|
||||
return l & 0xffff;
|
||||
}
|
||||
Reference in New Issue
Block a user