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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [mn10200/] [fstat.c] - Blame information for rev 829

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#include <_ansi.h>
2
#include <sys/types.h>
3
#include <sys/stat.h>
4
#include "trap.h"
5
 
6
 
7
int
8
_fstat (int file,
9
        struct stat *st)
10
{
11
  st->st_mode = S_IFCHR;
12
  st->st_blksize = 4096;
13
  return 0;
14
}

powered by: WebSVN 2.1.0

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