newlib/libgloss/libnosys/readlink.c
Yaakov Selkowitz 6783860a2e ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:05 -06:00

25 lines
367 B
C

/*
* 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,
char *buf,
size_t bufsize)
{
errno = ENOSYS;
return -1;
}
stub_warning(_readlink)