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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [libnosys/] [stat.c] - Diff between revs 816 and 829

Only display areas with differences | Details | Blame | View Log

Rev 816 Rev 829
/*
/*
 * 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)
 
 

powered by: WebSVN 2.1.0

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