Mercurial > hg > octave-nkf > gnulib-hg
view doc/posix-functions/readlink.texi @ 10876:c83dc7e8df57
Refer to new POSIX:2008 standard.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 14 Dec 2008 14:38:13 +0100 |
parents | 070329237839 |
children | 36183b482b71 |
line wrap: on
line source
@node readlink @section @code{readlink} @findex readlink POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/readlink.html} Gnulib module: readlink Portability problems fixed by Gnulib: @itemize @item This function is missing on some platforms: mingw. @end itemize Portability problems not fixed by Gnulib: @itemize @item When @code{readlink} is called on a directory: In the case of NFS mounted directories, Cygwin sets @code{errno} to @code{ENOENT} or @code{EIO} instead of @code{EINVAL}. To avoid this problem, check for a directory before calling @code{readlink}. @item When @code{readlink} is called on a file that is not a symbolic link: Irix may set @code{errno} to @code{ENXIO} instead of @code{EINVAL}. Cygwin may set errno to @code{EACCES} instead of @code{EINVAL}. @end itemize