URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 1010 |
Rev 1765 |
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <sys/types.h>
|
#include <sys/types.h>
|
#include <sys/stat.h>
|
#include <sys/stat.h>
|
|
|
extern int _write (int, void*, unsigned int);
|
extern int _write (int, void*, unsigned int);
|
|
|
int
|
int
|
_open() {
|
_open() {
|
return -1;
|
return -1;
|
}
|
}
|
|
|
int
|
int
|
_close() {
|
_close() {
|
return -1;
|
return -1;
|
}
|
}
|
|
|
int
|
int
|
_lseek() {
|
_lseek() {
|
return 0;
|
return 0;
|
}
|
}
|
|
|
int
|
int
|
_read() {
|
_read() {
|
return 0;
|
return 0;
|
}
|
}
|
|
|
int
|
int
|
isatty() {
|
isatty() {
|
return 1;
|
return 1;
|
}
|
}
|
|
|
int
|
int
|
_DEFUN(_fstat,(file, st),
|
_DEFUN(_fstat,(file, st),
|
int file _AND
|
int file _AND
|
struct stat *st)
|
struct stat *st)
|
{
|
{
|
st->st_mode = S_IFCHR;
|
st->st_mode = S_IFCHR;
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.