int mac_var_to_vmode (const struct fb_var_screeninfo * var, int * vmode, int * cmode);
int mac_var_to_vmode
frame buffer video mode structure
MacOS video mode
MacOS color mode
Converts a frame buffer video mode structure to a MacOS vmode/cmode pair.
Returns negative errno on error, or zero for success.