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

14 lines
219 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* 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)
2000-02-18 03:39:52 +08:00
{
return _read_r (_REENT, fd, buf, cnt);
}