aboutsummaryrefslogtreecommitdiff
path: root/lib/sys/read.h
blob: b7d0851591871cbb21113984ff9d993b4dbfe614 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef READ_H
#define READ_H
#include "syscalls.h"
#include "sizes.h"

static u64 read(unsigned int fd, char * buf, unsigned long count)
{
	return syscall(READ, fd, buf, count, 0, 0);
}

#endif