Retro68/gcc/newlib/libc/syscalls/sysread.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

14 lines
219 B
C

/* connector for read */
#include <reent.h>
#include <unistd.h>
_READ_WRITE_RETURN_TYPE
_DEFUN (read, (fd, buf, cnt),
int fd _AND
void *buf _AND
size_t cnt)
{
return _read_r (_REENT, fd, buf, cnt);
}