Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sysfstat.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7d446e82568f249940e8fb3d70307be87bcd35b4 (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
_DEFUN (fstat, (fd, pstat),
     int fd _AND
     struct stat *pstat)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _fstat_r (_REENT, fd, pstat);
#else
  return _fstat (fd, pstat);
#endif
}