'\" t .\" Title: mac_vmode_to_var .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Frame Buffer Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MAC_VMODE_TO_VAR" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Frame Buffer Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mac_vmode_to_var \- converts vmode/cmode pair to var structure .SH "SYNOPSIS" .HP \w'int\ mac_vmode_to_var('u .BI "int mac_vmode_to_var(int\ " "vmode" ", int\ " "cmode" ", struct\ fb_var_screeninfo\ *\ " "var" ");" .SH "ARGUMENTS" .PP \fIvmode\fR .RS 4 MacOS video mode .RE .PP \fIcmode\fR .RS 4 MacOS color mode .RE .PP \fIvar\fR .RS 4 frame buffer video mode structure .RE .SH "DESCRIPTION" .PP Converts a MacOS vmode/cmode pair to a frame buffer video mode structure\&. .PP Returns negative errno on error, or zero for success\&. .SH "COPYRIGHT" .br