ack/mach/minixST/libsys/_read.c

12 lines
206 B
C
Raw Permalink Normal View History

#include <lib.h>
#define read _read
#include <unistd.h>
PUBLIC int read(fd, buffer, nbytes)
int fd;
char *buffer;
unsigned nbytes;
{
return(_callm1(FS, READ, fd, nbytes, 0, buffer, NIL_PTR, NIL_PTR));
}