shithub: riscv

ref: 059c85dd75f4790625ea3ba19f1c76cf2f3e6b4a
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);
}