fb_alloc_cmap9
Allocate a colormap
Usage
int fb_alloc_cmap(struct fb_cmap * cmap, int len, int transp);
Arguments
cmap
frame buffer colormap structure
len
length of cmap
transp
boolean, 1 if there is transparency, 0 otherwise
Overview
Allocates memory for a colormap cmap. len is the number of entries in the palette.
Returns negative errno on error, or zero on success.
Releases
3 releases since Debian 4.0 (Etch); the text changed 2 times.