fbgen_get_cmap
Name
fbgen_get_cmap -- get the colormap
Synopsis
int fbgen_get_cmap
(struct fb_cmap * cmap, int kspc, int con, struct fb_info * info);
Arguments
- cmap
frame buffer colormap structure
- kspc
boolean, 0 copy local, 1 put_user
function
- con
virtual console number
- info
frame buffer info structure
Description
Gets the colormap for virtual console con and places it into
cmap for device info.
Returns negative errno on error, or zero for success.