devela::_dep::rustix::fs

Function setxattr

pub fn setxattr<P, Name>(
    path: P,
    name: Name,
    value: &[u8],
    flags: XattrFlags,
) -> Result<(), Errno> 
where P: Arg, Name: Arg,
Available on crate feature dep_rustix only.
Expand description

setxattr(path, name, value.as_ptr(), value.len(), flags)—Set extended filesystem attributes.

§References