fb_get_cmap

Name

fb_get_cmap --  get a colormap

Synopsis

int fb_get_cmap (struct fb_cmap * cmap, int kspc, int (*getcolreg) (u_int, u_int *, u_int *, u_int *, u_int *, struct fb_info *), struct fb_info * info);

Arguments

cmap

frame buffer colormap

kspc

boolean, 0 copy local, 1 put_user function

getcolreg

pointer to a function to get a color register

info

frame buffer info structure

Description

Get a colormap cmap for a screen of device info.

Returns negative errno on error, or zero on success.