FB_ALLOC_CMAP

Section: (9)
Updated: 07 August 2003
Index Return to Main Contents

 

NAME

fb_alloc_cmap - allocate a colormap  

SYNOPSIS

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
 

DESCRIPTION

Allocates memory for a colormap cmap. len is the number of entries in the palette.

Returns -1 errno on error, or zero on success.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 09:53:37 GMT, April 09, 2004