Update man page to reflect the fact that VOP_LISTEXTATTR

does not return a list of ASCII NUL terminated strings.
Instead, a list of attribute names is returned, where each
list entry consists of one byte for the name length, followed
by the name, without a terminating ASCII NUL.
This in similar to change 1.17 to extattr_get_file.2

Reviewed by:	rwatson, ru
This commit is contained in:
rodrigc 2005-08-19 12:17:47 +00:00
parent fae38f5558
commit 8d1d5878f9

View File

@ -30,7 +30,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd June 5, 2003
.Dd August 19, 2005
.Os
.Dt VOP_LISTEXTATTR 9
.Sh NAME
@ -62,14 +62,16 @@ Integer constant indicating which extended attribute namespace the attribute
name is present in.
.It Fa uio
The location of the data to be read.
The resulting data will be a list of attribute names.
Each list entry consists of a single byte containing the length of
the attribute name, followed by the attribute name.
The attribute name is not terminated by
.Tn ASCII
.Dv NUL .
.It Fa size
If not
.Dv NULL ,
on return it will contain the number of bytes required to read the list.
The resulting data will be an
.Tn ASCII
.Dv NUL Ns
-separated list of strings.
In most cases
.Fa uio
will be