.TH "fb_set_cmap" 9 "fb_set_cmap" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME fb_set_cmap \- set the colormap .SH SYNOPSIS .B "int" fb_set_cmap .BI "(struct fb_cmap *" cmap "," .BI "int " kspc "," .BI "int (*" setcolreg ") (u_int, u_int, u_int, u_int, u_int, struct fb_info *)," .BI "struct fb_info *" info ");" .SH ARGUMENTS .IP "cmap" 12 frame buffer colormap structure .IP "kspc" 12 boolean, 0 copy local, 1 \fBget_user\fP function .IP "setcolreg" 12 -- undescribed -- .IP "info" 12 frame buffer info structure .SH "DESCRIPTION" Sets the colormap \fIcmap\fP for a screen of device \fIinfo\fP. Returns negative errno on error, or zero on success.