mirror of https://github.com/mkerrisk/man-pages
Document AT_SYMLINK_FOLLOW (new in 2.6.18).
This commit is contained in:
parent
ed93deb2ba
commit
ab9260357e
|
@ -76,19 +76,22 @@ except that a relative pathname is interpreted relative
|
||||||
to the directory referred to by the file descriptor
|
to the directory referred to by the file descriptor
|
||||||
.IR newdirfd .
|
.IR newdirfd .
|
||||||
|
|
||||||
The
|
By default,
|
||||||
|
.BR linkat (2),
|
||||||
|
does not dereference
|
||||||
|
.I oldpath
|
||||||
|
if it is a symbolic link (like
|
||||||
|
.BR link (2)).
|
||||||
|
Since Linux 2.6.18, the flag
|
||||||
|
.B AT_SYMLINK_FOLLOW
|
||||||
|
can be specified
|
||||||
.I flags
|
.I flags
|
||||||
argument is currently unused, and must be specified as 0.
|
to cause
|
||||||
.\" Eventually there may be an AT_SYMLINK_FOLLOW flag to cause
|
.I oldpath
|
||||||
.\" symbolic links in oldpath to be followed (which is what
|
to be dereferenced if it is a symbolic link.
|
||||||
.\" POSIX.1 requires of link(2)).
|
Before kernel 2.6.18, the
|
||||||
.\" FIXME . check whether the AT_SYMLINK_FOLLOW flag eventually
|
.I flags
|
||||||
.\" gets implemented
|
argument was unused, and had to be specified as 0.
|
||||||
.\" http://marc.theaimsgroup.com/?l=linux-kernel&m=115057175628627&w=2
|
|
||||||
.\" List: linux-kernel
|
|
||||||
.\" Subject: [PATCH] Implement AT_SYMLINK_FOLLOW flag for linkat
|
|
||||||
.\" From: Ulrich Drepper <drepper () redhat ! com>
|
|
||||||
.\" Date: 2006-06-17 19:13:22
|
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
On success,
|
On success,
|
||||||
.BR linkat ()
|
.BR linkat ()
|
||||||
|
|
Loading…
Reference in New Issue