pub fn lgetxattr<P: Arg, Name: Arg, Buf: Buffer<u8>>(
path: P,
name: Name,
value: Buf,
) -> Result<Buf::Output>Expand description
lgetxattr(path, name, value.as_ptr(), value.len())—Get extended
filesystem attributes, without following symlinks in the last path
component.
Unlike the libc lgetxattr 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 lgetxattr_query.