shithub: riscv

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