2005-12-01 07:43:57 +08:00
|
|
|
/*
|
|
|
|
* 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
|
2017-12-04 11:43:30 +08:00
|
|
|
_readlink (const char *path,
|
2017-12-04 09:31:41 +08:00
|
|
|
char *buf,
|
2005-12-01 07:43:57 +08:00
|
|
|
size_t bufsize)
|
|
|
|
{
|
|
|
|
errno = ENOSYS;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
stub_warning(_readlink)
|