summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-10-09 22:26:48 +0000
committerrwatson <rwatson@FreeBSD.org>2002-10-09 22:26:48 +0000
commitce8274a36c4a3728c7c015d4a50332f9f9f274c9 (patch)
treeebf0bb412694727ecccd3fdbedda4d494a6dfa9c /lib
parent641a3d5cb39bd1147bd8c483d70615d30d4d8f0c (diff)
downloadFreeBSD-src-ce8274a36c4a3728c7c015d4a50332f9f9f274c9.zip
FreeBSD-src-ce8274a36c4a3728c7c015d4a50332f9f9f274c9.tar.gz
Add brief mention of the extattr_*_link() system call variants.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/extattr_get_file.216
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libc/sys/extattr_get_file.2 b/lib/libc/sys/extattr_get_file.2
index 28686fd..151fced 100644
--- a/lib/libc/sys/extattr_get_file.2
+++ b/lib/libc/sys/extattr_get_file.2
@@ -35,6 +35,9 @@
.Nm extattr_get_file ,
.Nm extattr_set_file ,
.Nm extattr_delete_file
+.Nm extattr_get_link ,
+.Nm extattr_set_link ,
+.Nm extattr_delete_link
.Nd system calls to manipulate VFS extended attributes
.Sh LIBRARY
.Lb libc
@@ -54,6 +57,12 @@
.Fn extattr_set_file "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes"
.Ft int
.Fn extattr_delete_file "const char *path" "int attrnamespace" "const char *attrname"
+.Ft ssize_t
+.Fn extattr_get_link "const char *path" "int attrnamespace" "const char *attrname" "void *data" "size_t nbytes"
+.Ft int
+.Fn extattr_set_link "const char *path" "int attrnamespace" "const char *attrname" "const void *data" "size_t nbytes"
+.Ft int
+.Fn extattr_delete_link "const char *path" "int attrnamespace" "const char *attrname"
.Sh DESCRIPTION
Named extended attributes are meta-data associated with vnodes
representing files and directories.
@@ -97,6 +106,13 @@ in a call to
then the size of defined extended attribute data will be returned, rather
than the quantity read, permitting applications to test the size of the
data without performing a read.
+The
+.Fn extattr_delete_link ,
+.Fn extattr_get_link ,
+and
+.Fn extattr_set_link
+functions behave in the same way as their _file counterparts, except that
+they do not follow symlinks.
.Pp
The
.Fn extatttr_get_fd ,
OpenPOWER on IntegriCloud