console_setcmap(9)
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.