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