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:
Abhay Sachan 2014-04-06 08:08:48 +02:00 committed by Michael Kerrisk
parent 5e7c71f6ac
commit 25cb5f9b8b
1 changed files with 2 additions and 2 deletions

View File

@ -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