shithub: riscv

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