1FB_ALLOC_CMAP(9) Frame Buffer Library FB_ALLOC_CMAP(9)
2
3
4
6 fb_alloc_cmap - allocate a colormap
7
9 int fb_alloc_cmap(struct fb_cmap * cmap, int len, int transp);
10
12 cmap
13 frame buffer colormap structure
14
15 len
16 length of cmap
17
18 transp
19 boolean, 1 if there is transparency, 0 otherwise
20
22 Allocates memory for a colormap cmap. len is the number of entries in
23 the palette.
24
25 Returns negative errno on error, or zero on success.
26
28Kernel Hackers Manual 2.6. November 2011 FB_ALLOC_CMAP(9)