rustix::fs

Function lsetxattr

source
pub fn lsetxattr<P: Arg, Name: Arg>(
    path: P,
    name: Name,
    value: &[u8],
    flags: XattrFlags,
) -> Result<()>
Expand description

setxattr(path, name, value.as_ptr(), value.len(), flags)—Set extended filesystem attributes, without following symlinks in the last path component.

§References