mirror of https://github.com/mkerrisk/man-pages
symlinkat.2: Make argument names consistent with symlink(2) page
See commitbcd49f31a8
and commitf2ae6dde0c
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a797afac4e
commit
b29ac8d2fd
|
@ -22,7 +22,7 @@
|
|||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\" %%%LICENSE_END
|
||||
.\"
|
||||
.TH SYMLINKAT 2 2012-05-04 "Linux" "Linux Programmer's Manual"
|
||||
.TH SYMLINKAT 2 2014-02-05 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
symlinkat \- create a symbolic link relative to a directory file descriptor
|
||||
.SH SYNOPSIS
|
||||
|
@ -30,8 +30,8 @@ symlinkat \- create a symbolic link relative to a directory file descriptor
|
|||
.B #include <fcntl.h> /* Definition of AT_* constants */
|
||||
.B #include <unistd.h>
|
||||
.sp
|
||||
.BI "int symlinkat(const char *" oldpath ", int " newdirfd \
|
||||
", const char *" newpath );
|
||||
.BI "int symlinkat(const char *" target ", int " newdirfd \
|
||||
", const char *" linkpath );
|
||||
.fi
|
||||
.sp
|
||||
.in -4n
|
||||
|
@ -60,7 +60,7 @@ system call operates in exactly the same way as
|
|||
except for the differences described in this manual page.
|
||||
|
||||
If the pathname given in
|
||||
.I newpath
|
||||
.I linkpath
|
||||
is relative, then it is interpreted relative to the directory
|
||||
referred to by the file descriptor
|
||||
.I newdirfd
|
||||
|
@ -70,19 +70,19 @@ the calling process, as is done by
|
|||
for a relative pathname).
|
||||
|
||||
If
|
||||
.I newpath
|
||||
.I linkpath
|
||||
is relative and
|
||||
.I newdirfd
|
||||
is the special value
|
||||
.BR AT_FDCWD ,
|
||||
then
|
||||
.I newpath
|
||||
.I linkpath
|
||||
is interpreted relative to the current working
|
||||
directory of the calling process (like
|
||||
.BR symlink (2)).
|
||||
|
||||
If
|
||||
.I newpath
|
||||
.I linkpath
|
||||
is absolute, then
|
||||
.I newdirfd
|
||||
is ignored.
|
||||
|
@ -106,7 +106,7 @@ The following additional errors can occur for
|
|||
is not a valid file descriptor.
|
||||
.TP
|
||||
.B ENOTDIR
|
||||
.I newpath
|
||||
.I linkpath
|
||||
is relative and
|
||||
.I newdirfd
|
||||
is a file descriptor referring to a file other than a directory.
|
||||
|
|
Loading…
Reference in New Issue