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