code: def _get_var_info(fbfid):
          
          var_info = FbMem.VarScreenInfo()
          fcntl.ioctl(fbfid, FbMem.FBIOGET_VSCREENINFO, var_info)
          return var_info
docs: Return the var screen info from the framebuffer file descriptor.