aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/src/read.c
blob: 1ca1a8508976e8bf55c240a0c4e5ff548fe75f4b (plain)
1
2
3
4
5
6
7
8
#include "internal.h"

int
sys·read(int fd, void *buf, uintptr len, intptr *n)
{
    intptr ret = *n = syscall(·Read, fd, buf, len);
    return error(ret);
}