URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 207 |
Rev 345 |
/*
|
/*
|
* Stub version of stat.
|
* Stub version of stat.
|
*/
|
*/
|
|
|
#include "config.h"
|
#include "config.h"
|
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <_syslist.h>
|
#include <_syslist.h>
|
#include <sys/types.h>
|
#include <sys/types.h>
|
#include <sys/stat.h>
|
#include <sys/stat.h>
|
#include <errno.h>
|
#include <errno.h>
|
#undef errno
|
#undef errno
|
extern int errno;
|
extern int errno;
|
#include "warning.h"
|
#include "warning.h"
|
|
|
int
|
int
|
_DEFUN (_stat, (file, st),
|
_DEFUN (_stat, (file, st),
|
const char *file _AND
|
const char *file _AND
|
struct stat *st)
|
struct stat *st)
|
{
|
{
|
errno = ENOSYS;
|
errno = ENOSYS;
|
return -1;
|
return -1;
|
}
|
}
|
|
|
stub_warning(_stat)
|
stub_warning(_stat)
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.