shithub: riscv

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