Retro68/gcc/newlib/libc/syscalls/sysread.c

13 lines
182 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/* connector for read */
#include <reent.h>
#include <unistd.h>
_READ_WRITE_RETURN_TYPE
2018-12-28 15:30:48 +00:00
read (int fd,
void *buf,
2017-04-11 21:13:36 +00:00
size_t cnt)
{
return _read_r (_REENT, fd, buf, cnt);
}