minix/lib/posix/readlink.c
Ben Gras 39c90d6c90 Added (fake) readlink().
Compile fix for fslib (BITS_PER_BLOCK was renamed to FS_BITS_PER_BLOCK).

Added extra arg to various timer functions.
2005-06-17 13:47:29 +00:00

12 lines
191 B
C

/*
readlink.c
*/
#include <unistd.h>
#include <errno.h>
int readlink(const char *path, char *buf, int bufsiz)
{
errno = EINVAL; /* "The named file is not a symbolic link" */
return -1;
}