summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-06-10 16:54:17 +0000
committerrodrigc <rodrigc@FreeBSD.org>2005-06-10 16:54:17 +0000
commita2da5f36da2b0bf4a9e3576bf1cd6106bb24c235 (patch)
tree1c182ad2cec770d2cdade5cbb83ea0d1cbdfe21f /lib
parent9c051980b98f9a077ae7bc71439fec9a28697070 (diff)
downloadFreeBSD-src-a2da5f36da2b0bf4a9e3576bf1cd6106bb24c235.zip
FreeBSD-src-a2da5f36da2b0bf4a9e3576bf1cd6106bb24c235.tar.gz
Fix the wording in this man page so that it
reflects the actual behavior of the API for listing extended attributes. PR: docs/79261 Submitted by: rodrigc Reviewed by: rwatson, kan Approved by: das (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/extattr_get_file.26
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2
index f129f5e..e55d94d 100644
--- a/lib/libc/sys/extattr_get_file.2
+++ b/lib/libc/sys/extattr_get_file.2
@@ -97,8 +97,10 @@ The
system call deletes the extended attribute specified.
The
.Fn extattr_list_file
-returns a list of attributes present in the requested namespace, separated
-by ASCII 0 (nul) characters.
+returns a list of attributes present in the requested namespace.
+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 ASCII 0 (nul).
The
.Fn extattr_get_file ,
and
OpenPOWER on IntegriCloud