shithub: riscv

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