_read.c 206 B

1234567891011
  1. #include <lib.h>
  2. #define read _read
  3. #include <unistd.h>
  4. PUBLIC int read(fd, buffer, nbytes)
  5. int fd;
  6. char *buffer;
  7. unsigned nbytes;
  8. {
  9. return(_callm1(FS, READ, fd, nbytes, 0, buffer, NIL_PTR, NIL_PTR));
  10. }