pub fn fcntl_setfd<Fd: AsFd>(fd: Fd, flags: FdFlags) -> Result<()>
fcntl(fd, F_SETFD, flags)—Sets a file descriptor’s flags.
fcntl(fd, F_SETFD, flags)