shithub: riscv

ref: 30ab804b5878a9f4721fb1de3f03f4a0400a6fb1
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);
}