Added entry points for ANSI C
This commit is contained in:
14
mach/i386/libsys/_pipe.c
Normal file
14
mach/i386/libsys/_pipe.c
Normal file
@@ -0,0 +1,14 @@
|
||||
long _xpipe();
|
||||
|
||||
int
|
||||
_pipe(f)
|
||||
int f[2];
|
||||
{
|
||||
long x;
|
||||
|
||||
x = _xpipe();
|
||||
if (x == -1) return -1;
|
||||
f[0] = x;
|
||||
f[1] = x >> 16;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user