shithub: riscv

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