pub fn fcntl_getfl<Fd: AsFd>(fd: &Fd) -> io::Result<OFlags>
fcntl(fd, F_GETFL)—Returns a file descriptor’s access mode and status.
fcntl(fd, F_GETFL)