shithub: riscv

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