Last change
on this file since 474 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
287 bytes
|
Rev | Line | |
---|
[444] | 1 | /* |
---|
| 2 | * Stub version of write. |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #include "config.h" |
---|
| 6 | #include <_ansi.h> |
---|
| 7 | #include <_syslist.h> |
---|
| 8 | #include <errno.h> |
---|
| 9 | #undef errno |
---|
| 10 | extern int errno; |
---|
| 11 | #include "warning.h" |
---|
| 12 | |
---|
| 13 | int |
---|
| 14 | _write (int file, |
---|
| 15 | char *ptr, |
---|
| 16 | int len) |
---|
| 17 | { |
---|
| 18 | errno = ENOSYS; |
---|
| 19 | return -1; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | stub_warning(_write) |
---|
| 23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.