aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/sysfstat.c
blob: f167b3cd8eca1d377baf9af7f103df0937b3d925 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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
}