4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-26 17:17:20 +08:00

18 lines
260 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* connector for read */
#include <reent.h>
#include <unistd.h>
int
read (fd, buf, cnt)
int fd;
void *buf;
size_t cnt;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _read_r (_REENT, fd, buf, cnt);
#else
return _read (fd, buf, cnt);
#endif
}