newlib-cygwin/newlib/libc/syscalls/sysread.c

13 lines
182 B
C

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