shithub: riscv

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