URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 148 |
Rev 158 |
/*
|
/*
|
* Stub version of write.
|
* Stub version of write.
|
*/
|
*/
|
|
|
#include "config.h"
|
#include "config.h"
|
#include <_ansi.h>
|
#include <_ansi.h>
|
#include <_syslist.h>
|
#include <_syslist.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 (_write, (file, ptr, len),
|
_DEFUN (_write, (file, ptr, len),
|
int file _AND
|
int file _AND
|
char *ptr _AND
|
char *ptr _AND
|
int len)
|
int len)
|
{
|
{
|
errno = ENOSYS;
|
errno = ENOSYS;
|
return -1;
|
return -1;
|
}
|
}
|
|
|
stub_warning(_write)
|
stub_warning(_write)
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.