summaryrefslogtreecommitdiffstats
path: root/man2/listxattr.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/listxattr.2')
-rw-r--r--man2/listxattr.232
1 files changed, 16 insertions, 16 deletions
diff --git a/man2/listxattr.2 b/man2/listxattr.2
index 72b769a0e..91cabeddb 100644
--- a/man2/listxattr.2
+++ b/man2/listxattr.2
@@ -26,10 +26,10 @@ Extended attributes are
pairs associated with inodes (files, directories, symbolic links, etc.).
They are extensions to the normal attributes which are associated
with all inodes in the system (i.e., the
-.BR stat (2)
+.MR stat 2
data).
A complete overview of extended attributes concepts can be found in
-.BR xattr (7).
+.MR xattr 7 .
.P
.BR listxattr ()
retrieves the list
@@ -60,7 +60,7 @@ is identical to
only the open file referred to by
.I fd
(as returned by
-.BR open (2))
+.MR open 2 )
is interrogated in place of
.IR path .
.P
@@ -131,7 +131,7 @@ of the
buffer is too small to hold the result.
.P
In addition, the errors documented in
-.BR stat (2)
+.MR stat 2
can also occur.
.SH STANDARDS
Linux.
@@ -147,7 +147,7 @@ glibc 2.3.
.SH BUGS
.\" The xattr(7) page refers to this text:
As noted in
-.BR xattr (7),
+.MR xattr 7 ,
the VFS imposes a limit of 64\ kB on the size of the extended
attribute name list returned by
.BR listxattr ().
@@ -157,7 +157,7 @@ it is no longer possible to retrieve the list of attribute names.
The following program demonstrates the usage of
.BR listxattr ()
and
-.BR getxattr (2).
+.MR getxattr 2 .
For the file whose pathname is provided as a command-line argument,
it lists all extended file attributes and their values.
.P
@@ -175,7 +175,7 @@ a loop that retries the call
with a larger buffer each time it fails with the error
.BR ERANGE .
Calls to
-.BR getxattr (2)
+.MR getxattr 2
could be handled similarly.
.P
The following output was recorded by first creating a file, setting
@@ -311,12 +311,12 @@ main(int argc, char *argv[])
.EE
.\" SRC END
.SH SEE ALSO
-.BR getfattr (1),
-.BR setfattr (1),
-.BR getxattr (2),
-.BR open (2),
-.BR removexattr (2),
-.BR setxattr (2),
-.BR stat (2),
-.BR symlink (7),
-.BR xattr (7)
+.MR getfattr 1 ,
+.MR setfattr 1 ,
+.MR getxattr 2 ,
+.MR open 2 ,
+.MR removexattr 2 ,
+.MR setxattr 2 ,
+.MR stat 2 ,
+.MR symlink 7 ,
+.MR xattr 7