shithub: riscv

ref: f104cc9d79940e4f2c15ceaafa765a3cc94c817f
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);
}