mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-18 21:32:12 +02:00
16 lines
278 B
C
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;
|
|
}
|