.TH "fb_get_cmap" 9 "fb_get_cmap" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME fb_get_cmap \- get a colormap .SH SYNOPSIS .B "int" fb_get_cmap .BI "(struct fb_cmap *" cmap "," .BI "int " kspc "," .BI "int (*" getcolreg ") (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 .IP "kspc" 12 boolean, 0 copy local, 1 \fBput_user\fP function .IP "getcolreg" 12 pointer to a function to get a color register .IP "info" 12 frame buffer info structure .SH "DESCRIPTION" Get a colormap \fIcmap\fP for a screen of device \fIinfo\fP. Returns negative errno on error, or zero on success.