devela::_dep::rustix::fs

Function lsetxattr

pub fn lsetxattr<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, without following symlinks in the last path component.

§References