mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 03:19:54 +08:00
41a639dea8
* libc/sys/h8300hms/Makefile.am: Add support for new files. * libc/sys/h8300hms/Makefile.in: Regenerated. * libc/sys/h8300hms/close.S: New file. * libc/sys/h8300hms/fstat.S: Ditto. * libc/sys/h8300hms/lseek.S: Ditto. * libc/sys/h8300hms/open.S: Ditto. * libc/sys/h8300hms/stat.S: Ditto. * libc/sys/h8300hms/read.S: New file to replace read.c. * libc/sys/h8300hms/read.c: Removed. * libc/sys/h8300hms/syscalls.c: Removed functions _open, _lseek, _close, _stat, _fstat. * libc/sys/h8300hms/write.S: New file to replace write.c. * libc/sys/h8300hms/write.c: Removed.
19 lines
222 B
C
19 lines
222 B
C
/* Operating system stubs, set up for the MRI simulator */
|
|
|
|
#include <_ansi.h>
|
|
#include <errno.h>
|
|
|
|
int isatty(file)
|
|
int file;
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
int
|
|
_unlink (path)
|
|
const char *path;
|
|
{
|
|
errno = EIO;
|
|
return -1;
|
|
}
|