aboutsummaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2020-12-08 04:16:05 +0000
committerEnji Cooper <ngie@FreeBSD.org>2020-12-08 04:16:05 +0000
commitcf681016d47ed689da60c8cfe1a4fb894e036b4d (patch)
tree94f05e6aa067ec3c0e12479c4397c27cdcbbe0fa /lib/libc
parentf7055239398f3a13377f30ba124201909b482bbd (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/extattr_get_file.219
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2
index a9a2defa8448..bc46440d46ab 100644
--- a/lib/libc/sys/extattr_get_file.2
+++ b/lib/libc/sys/extattr_get_file.2
@@ -169,21 +169,32 @@ For more information on named extended attributes, please see
.Xr extattr 9 .
.Sh RETURN VALUES
If successful, the
+.Fn extattr_get_fd ,
.Fn extattr_get_file ,
+.Fn extattr_get_link ,
+.Fn extattr_list_fd ,
+.Fn extattr_list_file ,
+.Fn extattr_list_link ,
+.Fn extattr_set_fd ,
.Fn extattr_set_file ,
and
-.Fn extattr_list_file
+.Fn extattr_set_link
calls return the number of bytes
that were read or written from the
.Fa data ,
-respectively, or if
+respectively.
+If
.Fa data
was
.Dv NULL ,
then
-.Fn extattr_get_file
+.Fn extattr_get_fd ,
+.Fn extattr_get_file ,
+.Fn extattr_get_link ,
+.Fn extattr_list_fd ,
+.Fn extattr_list_file ,
and
-.Fn extattr_list_file
+.Fn extattr_list_link
return the number of bytes available to read.
If any of the calls are unsuccessful, the value \-1 is returned
and the global variable