ack/plat/linux/libsys/read.c

15 lines
288 B
C
Raw Normal View History

/* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/read.c,v $
* $State: Exp $
* $Revision: 1.1 $
*/
#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);
}