Skip to main content

llistxattr

Function llistxattr 

Source
pub fn llistxattr<P: Arg, Buf: Buffer<u8>>(
    path: P,
    list: Buf,
) -> Result<Buf::Output>
Expand description

llistxattr(path, list.as_ptr(), list.len())—List extended filesystem attributes, without following symlinks in the last path component.

Unlike the libc llistxattr 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 llistxattr_query.

§References