newlib-cygwin/libgloss/libnosys/readlink.c

25 lines
375 B
C
Raw Normal View History

/*
* Stub version of readlink.
*/
#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#include <sys/types.h>
#undef errno
extern int errno;
#include "warning.h"
int
_DEFUN (_readlink, (path, buf, bufsize),
const char *path _AND
char *buf _AND
size_t bufsize)
{
errno = ENOSYS;
return -1;
}
stub_warning(_readlink)