summaryrefslogtreecommitdiff
path: root/src/unistd/read.c
blob: f3589c05c3e3b30cf2991988af739e54161fcd08 (plain)
1
2
3
4
5
6
7
#include <unistd.h>
#include "syscall.h"

ssize_t read(int fd, void *buf, size_t count)
{
	return syscall_cp(SYS_read, fd, buf, count);
}