From 736703bde2cbce6cf664f379945c81e97461c4be Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sat, 24 Jan 2015 10:33:25 +0100 Subject: [PATCH] setxattr.2: Minor rewordings Signed-off-by: Michael Kerrisk --- man2/setxattr.2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man2/setxattr.2 b/man2/setxattr.2 index 85de6fe74..08facd94d 100644 --- a/man2/setxattr.2 +++ b/man2/setxattr.2 @@ -61,9 +61,8 @@ and associated with the given in the filesystem. The .I size -of the -.I value -must be specified. +argument specifies the size (in bytes) of +.IR value . .PP .BR lsetxattr () is identical to @@ -93,15 +92,16 @@ binary data of specified length. .PP The .I flags -argument can be used to refine the semantics of the operation. +argument can be used to modify the semantics of the operation. .B XATTR_CREATE specifies a pure create, which fails if the named attribute exists already. .B XATTR_REPLACE specifies a pure replace operation, which fails if the named attribute does not already exist. -By default (no flags), the extended attribute will be created if -need be, or will simply replace the value if the attribute exists. +By default (no flags), +the extended attribute will be created if it does not exist, +or the value will be replaced if the attribute already exists. .SH RETURN VALUE On success, zero is returned. On failure, \-1 is returned and