Skip to main content

listxattr

Function listxattr 

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

listxattr(path, list.as_ptr(), list.len())—List extended filesystem attributes.

Unlike the libc listxattr 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 listxattr_query.

§References