repo.or.cz
/
coreutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(eval, eval7, eval6, eval5, eval4, eval3, eval2, eval1):
[coreutils.git]
/
lib
/
readlink-stub.c
blob
cb2926ca6d7d53b03f49ac40cc746aaba22d81f2
1
#include <config.h>
2
#include <stddef.h>
3
#include <errno.h>
4
5
/* A trivial substitute for `readlink'.
6
7
DJGPP 2.03 and earlier don't have `readlink' and don't support
8
symlinks. */
9
10
int
11
readlink
(
const char
*
filename
,
char
*
buffer
,
size_t
size
)
12
{
13
errno
=
EINVAL
;
14
return
-
1
;
15
}