console_setmode

Section: Kernel Hacker's Manual (9)
Updated: console_setmode
Index Return to Main Contents
 

NAME

console_setmode - sets current console mode  

SYNOPSIS

int console_setmode (struct vc_mode *mode, int doit);  

ARGUMENTS

mode

 virtual console mode structure
doit

 boolean, 0 test mode, 1 test and activate mode
 

DESCRIPTION

Sets mode for all virtual consoles if doit is non-zero, otherwise, test a mode for validity.

Note, this function is only for XPMAC compatibility.

Returns negative errno on error, or zero for success.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 03:50:46 GMT, June 12, 2005