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
/
lseek.c
blob
0aa89e27267289da0e0a9d375e01af0b79cfd805
1
/*
2
* Stub version of lseek.
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
_DEFUN
(
_lseek
, (
file
,
ptr
,
dir
),
15
int
file _AND
16
int
ptr _AND
17
int
dir
)
18
{
19
errno
=
ENOSYS
;
20
return
-
1
;
21
}
22
23
stub_warning
(
_lseek
)