URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1010 |
Rev 1765 |
/* connector for fstat */
|
/* connector for fstat */
|
|
|
#include <reent.h>
|
#include <reent.h>
|
#include <unistd.h>
|
#include <unistd.h>
|
|
|
int
|
int
|
fstat (fd, pstat)
|
fstat (fd, pstat)
|
int fd;
|
int fd;
|
struct stat *pstat;
|
struct stat *pstat;
|
{
|
{
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
#ifdef REENTRANT_SYSCALLS_PROVIDED
|
return _fstat_r (_REENT, fd, pstat);
|
return _fstat_r (_REENT, fd, pstat);
|
#else
|
#else
|
return _fstat (fd, pstat);
|
return _fstat (fd, pstat);
|
#endif
|
#endif
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.