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

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