summaryrefslogtreecommitdiff
path: root/src/unistd/read.c
blob: dcaa5825dd060f820980af2cf9a4c4f3df98488c (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)
*/