shithub: riscv

ref: 23f8872bc10fbe9ffd2b0067db1f91d8eaaabb40
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);
}