12 lines
206 B
C
12 lines
206 B
C
|
#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));
|
||
|
}
|