Add a reference to linkat(2) for an interface that allows

precise control of the treatment of symbolic links.
This commit is contained in:
Michael Kerrisk 2008-08-21 04:54:14 +00:00
parent 08a3addfa4
commit 115e8dca06
1 changed files with 3 additions and 1 deletions

View File

@ -160,12 +160,14 @@ Some other implementations behave in the same manner as Linux.
.\" behaves like Linux, and contributors to a March 2005
.\" thread in the Austin mailing list reported that some
.\" other (System V) implementations did/do the same -- MTK, Apr 05
POSIX.1-2008 changes the specification of
.BR link (),
making it implementation-dependent whether or not
.I oldpath
is dereferenced if it is a symbolic link.
For precise control over the treatment of symbolic links when
creating a link, see
.BR linkat (2).
.SH BUGS
On NFS file systems, the return code may be wrong in case the NFS server
performs the link creation and dies before it can say so.