rustix::fs

Function fsetxattr

Source
pub fn fsetxattr<Fd: AsFd, Name: Arg>(
    fd: Fd,
    name: Name,
    value: &[u8],
    flags: XattrFlags,
) -> Result<()>
Expand description

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

§References