mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
17 lines
247 B
C
17 lines
247 B
C
/* connector for fstat */
|
|
|
|
#include <reent.h>
|
|
#include <unistd.h>
|
|
|
|
int
|
|
fstat (fd, pstat)
|
|
int fd;
|
|
struct stat *pstat;
|
|
{
|
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
|
return _fstat_r (_REENT, fd, pstat);
|
|
#else
|
|
return _fstat (fd, pstat);
|
|
#endif
|
|
}
|