shithub: riscv

ref: 4e9f39a3ec0712542af0d035c79b3bf0eb2f2cd3
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);
}