coreutils/lib/readlink-stub.c
Paul Eggert ab2edb9e33 Don't use "path" or "filename" to mean "file name"
in comments or local variable names.
2005-06-02 05:05:29 +00:00

16 lines
278 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 *file, char *buffer, size_t size)
{
errno = EINVAL;
return -1;
}