shithub: riscv

ref: 647a1da10867b87f90e7f917d7c33ba69ed2a705
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);
}