From 25cb5f9b8ba45beed146f8502b6f90765e517e7c Mon Sep 17 00:00:00 2001 From: Abhay Sachan Date: Sun, 6 Apr 2014 08:08:48 +0200 Subject: [PATCH] getxattr.2: Fix REURN VALUE description A EA can have length zero. Signed-off-by: Michael Kerrisk --- man2/getxattr.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/getxattr.2 b/man2/getxattr.2 index adc7617db..617ddf939 100644 --- a/man2/getxattr.2 +++ b/man2/getxattr.2 @@ -22,7 +22,7 @@ .\" . .\" %%%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