summaryrefslogtreecommitdiff
path: root/src/unistd/read.c
blob: f7b91a9be3758ec9ee4e5a51883a012e581706a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "errno.h"
#include "../_syscall.h"

ssize_t read(int fildes, void *buf, size_t nbyte)
{
	SYSCALL(read, ssize_t, -1, fildes, buf, nbyte, 0, 0, 0);
}
/*
POSIX(1)
*/