shithub: riscv

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