pub fn set_nonblock(fd: c_int) -> Result<()>