shithub: riscv

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