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