Cygwin: cygwin_GetCommandLineW/A: don't rely on __argv[0] content
[newlib-cygwin.git] / libgloss / libnosys / readlink.c
blob014c956f9f6f5fd3c758737de7c9849dac997459
1 /*
2 * Stub version of readlink.
3 */
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"
14 int
15 _readlink (const char *path,
16 char *buf,
17 size_t bufsize)
19 errno = ENOSYS;
20 return -1;
23 stub_warning(_readlink)