From b29ac8d2fd00c9c80c0d9b5d09924ef220b2ccb1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 5 Feb 2014 16:26:44 +0100 Subject: [PATCH] symlinkat.2: Make argument names consistent with symlink(2) page See commit bcd49f31a8f3f74fe434c0b6052c89a6ac876a55 and commit f2ae6dde0c68448bec986d12fe32268a2c98bfd9 Signed-off-by: Michael Kerrisk --- man2/symlinkat.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/symlinkat.2 b/man2/symlinkat.2 index 7ce0b1322..c0d944cc6 100644 --- a/man2/symlinkat.2 +++ b/man2/symlinkat.2 @@ -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 /* Definition of AT_* constants */ .B #include .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.