diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-08-19 12:17:47 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-08-19 12:17:47 +0000 |
commit | 8d1d5878f983c30d8849cbee1143124f37131f2c (patch) | |
tree | 86310c01ad5a3085769bbe46ea0aa72173271c8d | |
parent | fae38f55581d8d132cabbdfdafff65fefc131798 (diff) | |
download | FreeBSD-src-8d1d5878f983c30d8849cbee1143124f37131f2c.zip FreeBSD-src-8d1d5878f983c30d8849cbee1143124f37131f2c.tar.gz |
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
-rw-r--r-- | share/man/man9/VOP_LISTEXTATTR.9 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/VOP_LISTEXTATTR.9 b/share/man/man9/VOP_LISTEXTATTR.9 index 8c4a652..4c8b744 100644 --- a/share/man/man9/VOP_LISTEXTATTR.9 +++ b/share/man/man9/VOP_LISTEXTATTR.9 @@ -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 |