From 7a99cc7799e592c61e2f93085442197a435cc0d5 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Feb 2014 08:47:56 +0100 Subject: [PATCH] chmod.2: Rework/relocate fchmodat() NOTES text Signed-off-by: Michael Kerrisk --- man2/chmod.2 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/man2/chmod.2 b/man2/chmod.2 index 4a4875c82..e09d03ecf 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -223,6 +223,11 @@ If is a symbolic link, do not dereference it: instead operate on the link itself. This flag is not currently implemented. +.PP +See +.BR openat (2) +for an explanation of the need for +.BR fchmodat (). .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and @@ -330,12 +335,9 @@ library support was added to glibc in version 2.4. .BR fchmodat (): POSIX.1-2008. .SH NOTES -See -.BR openat (2) -for an explanation of the need for -.BR fchmodat (). - -The GNU C library wrapper function implements the POSIX-specified +The GNU C library +.BR fchmodat () +wrapper function implements the POSIX-specified interface described in this page. This interface differs from the underlying Linux system call, which does .I not