.TH "fbgen_do_set_var" 9 "fbgen_do_set_var" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME fbgen_do_set_var \- change the video mode .SH SYNOPSIS .B "int" fbgen_do_set_var .BI "(struct fb_var_screeninfo *" var "," .BI "int " isactive "," .BI "struct fb_info_gen *" info ");" .SH ARGUMENTS .IP "var" 12 frame buffer user defined part of display .IP "isactive" 12 boolean, 0 inactive, 1 active .IP "info" 12 generic frame buffer info structure .SH "DESCRIPTION" Change the video mode settings for device \fIinfo\fP. If \fIisactive\fP is non-zero, the changes will be activated immediately. Return negative errno on error, or zero for success.