console_setcmap
Section: Kernel Hacker's Manual (9)
Updated: console_setcmap
Index
Return to Main Contents
NAME
console_setcmap - sets palette color map for console
SYNOPSIS
int console_setcmap
(int n_entries,
unsigned char *red,
unsigned char *green,
unsigned char *blue);
ARGUMENTS
- n_entries
-
number of entries in the palette (max 16)
- red
-
value for red component of palette
- green
-
value for green component of palette
- blue
-
value for blue component of palette
DESCRIPTION
Sets global palette_cmap structure and activates the palette
on the current console.
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:54:33 GMT, June 12, 2005