rustix::fsFunction lsetxattr
Source pub fn lsetxattr<P: Arg, Name: Arg>(
path: P,
name: Name,
value: &[u8],
flags: XattrFlags,
) -> Result<()>
Available on crate feature fs
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