1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-03 19:47:42 +02:00
Files
coreutils/lib/readlink-stub.c
2003-03-17 19:21:28 +00:00

16 lines
282 B
C

#include <config.h>
#include <stddef.h>
#include <errno.h>
/* A trivial substitute for `readlink'.
DJGPP 2.03 and earlier don't have `readlink' and don't support
symlinks. */
int
readlink (const char *filename, char *buffer, size_t size)
{
errno = EINVAL;
return -1;
}