Initial revision
This commit is contained in:
11
mach/minix/libsys/read.c
Normal file
11
mach/minix/libsys/read.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "lib.h"
|
||||
|
||||
PUBLIC int read(fd, buffer, nbytes)
|
||||
int fd;
|
||||
char *buffer;
|
||||
int nbytes;
|
||||
{
|
||||
int n;
|
||||
n = callm1(FS, READ, fd, nbytes, 0, buffer, NIL_PTR, NIL_PTR);
|
||||
return(n);
|
||||
}
|
||||
Reference in New Issue
Block a user