Initial revision

This commit is contained in:
ceriel
1988-04-19 09:34:37 +00:00
parent 5140441585
commit a61b1a19bb
113 changed files with 2057 additions and 0 deletions

14
mach/minix/libsys/pipe.c Normal file
View File

@@ -0,0 +1,14 @@
#include "lib.h"
PUBLIC int pipe(fild)
int fild[2];
{
int k;
k = callm1(FS, PIPE, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
if (k >= 0) {
fild[0] = M.m1_i1;
fild[1] = M.m1_i2;
return(0);
} else
return(k);
}