shithub: riscv

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