read.c 108 B

12345678
  1. #include <u.h>
  2. #include <libc.h>
  3. long
  4. read(int fd, void *buf, long n)
  5. {
  6. return pread(fd, buf, n, -1LL);
  7. }