ack/plat/linux/liblinux/read.c
David Given 8d0261473d Add missing linux68k platform and liblinux support library.
--HG--
branch : dtrg-experimental-powerpc
2013-05-09 00:56:10 +01:00

15 lines
288 B
C

/* $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);
}