1.\" 2.\" Copyright (c) 2001 Dima Dorfman <dima@unixfreak.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $FreeBSD: head/lib/libc/sys/extattr_get_file.2 107788 2002-12-12 17:26:04Z ru $ |
27.\" 28.Dd March 28, 2001 29.Dt EXTATTR 2 30.Os 31.Sh NAME 32.Nm extattr_get_fd , 33.Nm extattr_set_fd , 34.Nm extattr_delete_fd , --- 99 unchanged lines hidden (view full) --- 134.Bl -tag -width attrnamespace 135.It Fa attrnamespace 136the namespace in which the extended attribute resides; see 137.Xr extattr 9 138.It Fa attrname 139the name of the extended attribute 140.El 141.Pp |
142Named extended attribute semantics vary by file system implementing the call. |
143Not all operations may be supported for a particular attribute. 144Additionally, the format of the data in 145.Fa data 146is attribute-specific. 147.Pp 148For more information on named extended attributes, please see 149.Xr extattr 9 . 150.Sh CAVEAT --- 18 unchanged lines hidden (view full) --- 169If any of the calls are unsuccessful, the value \-1 is returned 170and the global variable 171.Va errno 172is set to indicate the error. 173.Pp 174.Rv -std extattr_delete_file 175.Sh ERRORS 176The following errors may be returned by the system calls themselves. |
177Additionally, the file system implementing the call may return any |
178other errors it desires. 179.Bl -tag -width Er 180.It Bq Er EFAULT 181.Fa attrnamespace , 182.Fa attrname , 183or the memory range defined by 184.Fa data 185and --- 52 unchanged lines hidden --- |