rustix::fs

Function fsetxattr

Source
pub fn fsetxattr<Fd: AsFd, Name: Arg>(
    fd: Fd,
    name: Name,
    value: &[u8],
    flags: XattrFlags,
) -> Result<()>
Available on crate feature fs only.
Expand description

fsetxattr(fd, name, value.as_ptr(), value.len(), flags)—Set extended filesystem attributes on an open file descriptor.

§References