shithub: riscv

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