symlink.7: Mention use of readlink(2) to read contents of a symlink

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-18 05:31:10 +01:00
parent 7aa6eb89d4
commit ed17140040
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ and may not refer to files on different filesystems
A symbolic link is a special type of file whose contents are a string
that is the pathname of another file, the file to which the link refers.
(The contents of a symbolic link can be read using
.BR readlink (2).)
In other words, a symbolic link is a pointer to another name,
and not to an underlying object.
For this reason, symbolic links may refer to directories and may cross