shithub: riscv

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