shithub: riscv

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