fb_set_cmap
Name
fb_set_cmap -- set the colormap
Synopsis
int fb_set_cmap
(struct fb_cmap * cmap, int kspc, int (*setcolreg)
(u_int, u_int, u_int, u_int, u_int, struct fb_info *), struct fb_info * info);
Arguments
cmap
frame buffer colormap structure
kspc
boolean, 0 copy local, 1 get_user
function
setcolreg
-- undescribed --
info
frame buffer info structure
Description
Sets the colormap cmap
for a screen of device info
.
Returns negative errno on error, or zero on success.