repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libgloss
/
libnosys
/
stat.c
blob
7c34637980e1774d57eb3fd387f2bfe3b42a8ded
1
/*
2
* Stub version of stat.
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
_DEFUN
(
_stat
, (
file
,
st
),
17
const char
*
file _AND
18
struct
stat
*
st
)
19
{
20
errno
=
ENOSYS
;
21
return
-
1
;
22
}
23
24
stub_warning
(
_stat
)