mirror of https://github.com/mkerrisk/man-pages
getxattr.2: Fix REURN VALUE description
A EA can have length zero. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
5e7c71f6ac
commit
25cb5f9b8b
|
@ -22,7 +22,7 @@
|
|||
.\" <http://www.gnu.org/licenses/>.
|
||||
.\" %%%LICENSE_END
|
||||
.\"
|
||||
.TH GETXATTR 2 2014-02-06 "Linux" "Linux Programmer's Manual"
|
||||
.TH GETXATTR 2 2014-04-06 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getxattr, lgetxattr, fgetxattr \- retrieve an extended attribute value
|
||||
.SH SYNOPSIS
|
||||
|
@ -98,7 +98,7 @@ The interface is designed to allow guessing of initial buffer
|
|||
sizes, and to enlarge buffers when the return value indicates
|
||||
that the buffer provided was too small.
|
||||
.SH RETURN VALUE
|
||||
On success, a positive number is returned indicating the size of the
|
||||
On success, a nonnegative number is returned indicating the size of the
|
||||
extended attribute value.
|
||||
On failure, \-1 is returned and
|
||||
.I errno
|
||||
|
|
Loading…
Reference in New Issue