shithub: riscv

ref: 22a71acae02d9d4cc81163d1e9ac5b5f1dc6eba5
dir: /sys/src/libc/9sys/read.c/

View raw version
#include	<u.h>
#include	<libc.h>

long
read(int fd, void *buf, long n)
{
	return pread(fd, buf, n, -1LL);
}