fb_alloc_cmap(9)

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.

  1. 4.0
  2. 5.0
  3. 6.0

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.