pub fn flistxattr<Fd: AsFd, Buf: Buffer<u8>>(
fd: Fd,
list: Buf,
) -> Result<Buf::Output>Expand description
flistxattr(fd, list.as_ptr(), list.len())—List extended filesystem
attributes on an open file descriptor.
Unlike the libc flistxattr function, this function does not treat an
buffer with zero length as a way to return the size of the attribute.
To obtain the size, use flistxattr_query.