repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: cygwin_GetCommandLineW/A: don't rely on __argv[0] content
[newlib-cygwin.git]
/
libgloss
/
libnosys
/
readlink.c
blob
014c956f9f6f5fd3c758737de7c9849dac997459
1
/*
2
* Stub version of readlink.
3
*/
4
5
#include
"config.h"
6
#include <_ansi.h>
7
#include <_syslist.h>
8
#include <errno.h>
9
#include <sys/types.h>
10
#undef errno
11
extern
int
errno
;
12
#include
"warning.h"
13
14
int
15
_readlink
(
const char
*
path
,
16
char
*
buf
,
17
size_t
bufsize
)
18
{
19
errno
=
ENOSYS
;
20
return
-
1
;
21
}
22
23
stub_warning
(
_readlink
)