shithub: riscv

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