fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libgloss / libnosys / fstat.c
blob4e18d42160607864ae849c857e73dd97a80f4321
1 /*
2 * Stub version of fstat.
3 */
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"
15 int
16 _DEFUN (_fstat, (fildes, st),
17 int fildes _AND
18 struct stat *st)
20 errno = ENOSYS;
21 return -1;
24 stub_warning(_fstat)