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

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

#endif