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

sysstat.c « syscalls « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e2247dcf09d0671b0c42de6130e4d0772f0423da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* connector for stat */

#include <reent.h>
#include <unistd.h>

int
_DEFUN (stat, (file, pstat),
     char *file _AND
     struct stat *pstat)
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _stat_r (_REENT, file, pstat);
#else
  return _stat (file, pstat);
#endif
}