4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00

17 lines
261 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
/* connector for fstat */
#include <reent.h>
#include <unistd.h>
int
_DEFUN (fstat, (fd, pstat),
int fd _AND
struct stat *pstat)
2000-02-17 19:39:52 +00:00
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
return _fstat_r (_REENT, fd, pstat);
#else
return _fstat (fd, pstat);
#endif
}