OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [syscalls/] [sysstat.c] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
/* connector for stat */
2
 
3
#include <reent.h>
4
#include <unistd.h>
5
 
6
int
7
stat (file, pstat)
8
     char *file;
9
     struct stat *pstat;
10
{
11
#ifdef REENTRANT_SYSCALLS_PROVIDED
12
  return _stat_r (_REENT, file, pstat);
13
#else
14
  return _stat (file, pstat);
15
#endif
16
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.