ack/plat/linux386/libsys/read.c
2007-04-21 23:02:11 +00:00

15 lines
226 B
C

/* $Source$
* $State$
* $Revision$
*/
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include "libsys.h"
int read(int fd, void* buffer, size_t count)
{
return _syscall(__NR_read, fd, (quad) buffer, count);
}