access.2, chmod.2, chown.2, link.2, mkdir.2, open.2, readlink.2, rename.2, stat.2, symlink.2, unlink.2, mkfifo.3, scandir.3: Minor fix: remove section numbers in references to functions inside page

With the page merges, we now have some references to functions
within the page that have section numbers. Remove those.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-21 12:50:40 +01:00
parent 1548b9a4b1
commit cadd38ba1b
13 changed files with 54 additions and 54 deletions

View File

@ -115,7 +115,7 @@ is enabled for any of the file owner, group, or other.
The The
.BR faccessat () .BR faccessat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR access (2), .BR access (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -125,7 +125,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR access (2) .BR access()
for a relative pathname). for a relative pathname).
If If
@ -138,7 +138,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR access (2)). .BR access()).
If If
.I pathname .I pathname
@ -154,7 +154,7 @@ Perform access checks using the effective user and group IDs.
By default, By default,
.BR faccessat () .BR faccessat ()
uses the real IDs (like uses the real IDs (like
.BR access (2)). .BR access()).
.TP .TP
.B AT_SYMLINK_NOFOLLOW .B AT_SYMLINK_NOFOLLOW
If If
@ -260,10 +260,10 @@ is a file descriptor referring to a file other than a directory.
was added to Linux in kernel 2.6.16; was added to Linux in kernel 2.6.16;
library support was added to glibc in version 2.4. library support was added to glibc in version 2.4.
.SH "CONFORMING TO" .SH "CONFORMING TO"
.BR access (2): .BR access():
SVr4, 4.3BSD, POSIX.1-2001, POSIX.1-2008. SVr4, 4.3BSD, POSIX.1-2001, POSIX.1-2008.
.BR faccessat (2): .BR faccessat ():
POSIX.1-2008. POSIX.1-2008.
.SH NOTES .SH NOTES
.PP .PP

View File

@ -183,7 +183,7 @@ delayed for other clients if attribute caching is enabled on them.
The The
.BR fchmodat () .BR fchmodat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR chmod (2), .BR chmod (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -193,7 +193,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR chmod (2) .BR chmod()
for a relative pathname). for a relative pathname).
If If
@ -206,7 +206,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR chmod (2)). .BR chmod()).
If If
.I pathname .I pathname
@ -298,7 +298,7 @@ See above.
See above. See above.
.PP .PP
The same errors that occur for The same errors that occur for
.BR chmod (2) .BR chmod()
can also occur for can also occur for
.BR fchmodat (). .BR fchmodat ().
The following additional errors can occur for The following additional errors can occur for

View File

@ -146,7 +146,7 @@ bit indicates mandatory locking, and is not cleared by a
The The
.BR fchownat () .BR fchownat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR chown (2), .BR chown (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -156,7 +156,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR chown (2) .BR chown()
for a relative pathname). for a relative pathname).
If If
@ -169,7 +169,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR chown (2)). .BR chown()).
If If
.I pathname .I pathname
@ -206,11 +206,11 @@ If
.I pathname .I pathname
is a symbolic link, do not dereference it: is a symbolic link, do not dereference it:
instead operate on the link itself, like instead operate on the link itself, like
.BR lchown (2). .BR lchown().
(By default, (By default,
.BR fchownat () .BR fchownat ()
dereferences symbolic links, like dereferences symbolic links, like
.BR chown (2).) .BR chown().)
.PP .PP
See See
.BR openat (2) .BR openat (2)
@ -282,7 +282,7 @@ See above.
See above. See above.
.PP .PP
The same errors that occur for The same errors that occur for
.BR chown (2) .BR chown()
can also occur for can also occur for
.BR fchownat (). .BR fchownat ().
The following additional errors can occur for The following additional errors can occur for

View File

@ -81,7 +81,7 @@ and ownership) and it is impossible to tell which name was the
The The
.BR linkat () .BR linkat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR link (2), .BR link (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -91,7 +91,7 @@ referred to by the file descriptor
.I olddirfd .I olddirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR link (2) .BR link ()
for a relative pathname). for a relative pathname).
If If
@ -104,7 +104,7 @@ then
.I oldpath .I oldpath
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR link (2)). .BR link ()).
If If
.I oldpath .I oldpath
@ -156,7 +156,7 @@ By default,
does not dereference does not dereference
.I oldpath .I oldpath
if it is a symbolic link (like if it is a symbolic link (like
.BR link (2)). .BR link ()).
The flag The flag
.B AT_SYMLINK_FOLLOW .B AT_SYMLINK_FOLLOW
can be specified in can be specified in

View File

@ -77,7 +77,7 @@ newly created directory.
The The
.BR mkdirat () .BR mkdirat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR mkdir (2), .BR mkdir (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -87,7 +87,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR mkdir (2) .BR mkdir ()
for a relative pathname). for a relative pathname).
If If
@ -100,7 +100,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR mkdir (2)). .BR mkdir ()).
If If
.I pathname .I pathname

View File

@ -687,7 +687,7 @@ equal to
The The
.BR openat () .BR openat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR open (2), .BR open (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -697,7 +697,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR open (2) .BR open ()
for a relative pathname). for a relative pathname).
If If
@ -710,7 +710,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR open (2)). .BR open ()).
If If
.I pathname .I pathname
@ -1138,13 +1138,13 @@ First,
.BR openat () .BR openat ()
allows an application to avoid race conditions that could allows an application to avoid race conditions that could
occur when using occur when using
.BR open (2) .BR open ()
to open files in directories other than the current working directory. to open files in directories other than the current working directory.
These race conditions result from the fact that some component These race conditions result from the fact that some component
of the directory prefix given to of the directory prefix given to
.BR open (2) .BR open ()
could be changed in parallel with the call to could be changed in parallel with the call to
.BR open (2). .BR open ().
Such races can be avoided by Such races can be avoided by
opening a file descriptor for the target directory, opening a file descriptor for the target directory,
and then specifying that file descriptor as the and then specifying that file descriptor as the

View File

@ -101,7 +101,7 @@ characters), in case the buffer is too small to hold all of the contents.
The The
.BR readlinkat () .BR readlinkat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR readlink (2), .BR readlink (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -111,7 +111,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR readlink (2) .BR readlink ()
for a relative pathname). for a relative pathname).
If If
@ -124,7 +124,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR readlink (2)). .BR readlink ()).
If If
.I pathname .I pathname

View File

@ -120,7 +120,7 @@ refers to a symbolic link, the link will be overwritten.
The The
.BR renameat () .BR renameat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR rename (2), .BR rename (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -130,7 +130,7 @@ referred to by the file descriptor
.I olddirfd .I olddirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR rename (2) .BR rename ()
for a relative pathname). for a relative pathname).
If If
@ -143,7 +143,7 @@ then
.I oldpath .I oldpath
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR rename (2)). .BR rename ()).
If If
.I oldpath .I oldpath

View File

@ -338,7 +338,7 @@ process.
The The
.BR fstatat () .BR fstatat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR stat (2), .BR stat (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -348,7 +348,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR stat (2) .BR stat ()
for a relative pathname). for a relative pathname).
If If
@ -361,7 +361,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR stat (2)). .BR stat ()).
If If
.I pathname .I pathname
@ -411,11 +411,11 @@ If
.I pathname .I pathname
is a symbolic link, do not dereference it: is a symbolic link, do not dereference it:
instead return information about the link itself, like instead return information about the link itself, like
.BR lstat (2). .BR lstat ().
(By default, (By default,
.BR fstatat () .BR fstatat ()
dereferences symbolic links, like dereferences symbolic links, like
.BR stat (2).) .BR stat ().)
.PP .PP
See See
.BR openat (2) .BR openat (2)

View File

@ -107,7 +107,7 @@ be overwritten.
The The
.BR symlinkat () .BR symlinkat ()
system call operates in exactly the same way as system call operates in exactly the same way as
.BR symlink (2), .BR symlink (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -117,7 +117,7 @@ referred to by the file descriptor
.I newdirfd .I newdirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR symlink (2) .BR symlink ()
for a relative pathname). for a relative pathname).
If If
@ -130,7 +130,7 @@ then
.I linkpath .I linkpath
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR symlink (2)). .BR symlink ()).
If If
.I linkpath .I linkpath

View File

@ -83,7 +83,7 @@ it.
The The
.BR unlinkat () .BR unlinkat ()
system call operates in exactly the same way as either system call operates in exactly the same way as either
.BR unlink (2) .BR unlink()
or or
.BR rmdir (2) .BR rmdir (2)
(depending on whether or not (depending on whether or not
@ -100,7 +100,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR unlink (2) .BR unlink()
and and
.BR rmdir (2) .BR rmdir (2)
for a relative pathname). for a relative pathname).
@ -115,7 +115,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR unlink (2) .BR unlink()
and and
.BR rmdir (2)). .BR rmdir (2)).
@ -135,7 +135,7 @@ Currently only one such flag is defined:
By default, By default,
.BR unlinkat () .BR unlinkat ()
performs the equivalent of performs the equivalent of
.BR unlink (2) .BR unlink()
on on
.IR pathname . .IR pathname .
If the If the
@ -238,7 +238,7 @@ capability).
refers to a file on a read-only filesystem. refers to a file on a read-only filesystem.
.PP .PP
The same errors that occur for The same errors that occur for
.BR unlink (2) .BR unlink()
and and
.BR rmdir (2) .BR rmdir (2)
can also occur for can also occur for

View File

@ -87,7 +87,7 @@ for nonblocking handling of FIFO special files.
The The
.BR mkfifoat () .BR mkfifoat ()
function operates in exactly the same way as function operates in exactly the same way as
.BR mkfifo (3), .BR mkfifo (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -97,7 +97,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR mkfifo (3) .BR mkfifo ()
for a relative pathname). for a relative pathname).
If If
@ -110,7 +110,7 @@ then
.I pathname .I pathname
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR mkfifo (3)). .BR mkfifo ()).
If If
.I pathname .I pathname

View File

@ -146,7 +146,7 @@ on the strings \fI(*a)\->d_name\fP and \fI(*b)\->d_name\fP.
The The
.BR scandirat () .BR scandirat ()
function operates in exactly the same way as function operates in exactly the same way as
.BR scandir (3), .BR scnadir (),
except for the differences described here. except for the differences described here.
If the pathname given in If the pathname given in
@ -156,7 +156,7 @@ referred to by the file descriptor
.I dirfd .I dirfd
(rather than relative to the current working directory of (rather than relative to the current working directory of
the calling process, as is done by the calling process, as is done by
.BR scandir (3) .BR scnadir ()
for a relative pathname). for a relative pathname).
If If
@ -169,7 +169,7 @@ then
.I dirp .I dirp
is interpreted relative to the current working is interpreted relative to the current working
directory of the calling process (like directory of the calling process (like
.BR scandir (3)). .BR scnadir ()).
If If
.I dirp .I dirp