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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [libnosys/] [fstat.c] - Diff between revs 158 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 158 Rev 816
/*
/*
 * Stub version of fstat.
 * Stub version of fstat.
 */
 */
 
 
#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 (_fstat, (fildes, st),
_DEFUN (_fstat, (fildes, st),
        int          fildes _AND
        int          fildes _AND
        struct stat *st)
        struct stat *st)
{
{
  errno = ENOSYS;
  errno = ENOSYS;
  return -1;
  return -1;
}
}
 
 
stub_warning(_fstat)
stub_warning(_fstat)
 
 

powered by: WebSVN 2.1.0

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