.\" <http://www.gnu.org/licenses/>.
.\" %%%LICENSE_END
.\"
-.TH LISTXATTR 2 2013-04-09 "Linux" "Linux Programmer's Manual"
+.TH LISTXATTR 2 2014-02-06 "Linux" "Linux Programmer's Manual"
.SH NAME
listxattr, llistxattr, flistxattr \- list extended attribute names
.SH SYNOPSIS
.fam C
.nf
.B #include <sys/types.h>
-.B #include <attr/xattr.h>
+.B #include <sys/xattr.h>
.sp
.BI "ssize_t listxattr(const char\ *" path ", char\ *" list \
", size_t " size );
retrieves the list
of extended attribute names associated with the given
.I path
-in the file system.
+in the filesystem.
The retrieved list is placed in
.IR list ,
a caller-allocated buffer whose size (in bytes) is specified in the argument
.SH ERRORS
.TP
.B ENOTSUP
-Extended attributes are not supported by the file system, or are disabled.
+Extended attributes are not supported by the filesystem, or are disabled.
.TP
.B ERANGE
The
.BR stat (2),
.BR attr (5),
.BR symlink (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.