4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 19:09:58 +08:00

17 lines
253 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* connector for stat */
#include <reent.h>
#include <unistd.h>
int
stat (file, pstat)
char *file;
struct stat *pstat;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _stat_r (_REENT, file, pstat);
#else
return _stat (file, pstat);
#endif
}