2 @section @code{readlink}
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/readlink.html}
7 Gnulib module: readlink
9 Portability problems fixed by Gnulib:
12 This function is missing on some platforms:
16 Portability problems not fixed by Gnulib:
19 When @code{readlink} is called on a directory: In the case of NFS mounted
20 directories, Cygwin sets @code{errno} to @code{ENOENT} or @code{EIO} instead of
21 @code{EINVAL}. To avoid this problem, check for a directory before calling
24 When @code{readlink} is called on a file that is not a symbolic link:
25 Irix may set @code{errno} to @code{ENXIO} instead of @code{EINVAL}. Cygwin
26 may set errno to @code{EACCES} instead of @code{EINVAL}.