git: 9front

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