summaryrefslogtreecommitdiff
path: root/sys/src/libc/9sys/read.c
blob: 2119ab2ac64ef375bbcb83af95d1cfe0cd80814b (plain)
1
2
3
4
5
6
7
8
#include	<u.h>
#include	<libc.h>

long
read(int fd, void *buf, long n)
{
	return pread(fd, buf, n, -1LL);
}