.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FB_ALLOC_CMAP" "" "06 October 2005" "" ""
.SH NAME
fb_alloc_cmap \- allocate a colormap
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int fb_alloc_cmap (struct fb_cmap * \fIcmap\fB, int \fIlen\fB, int \fItransp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcmap\fB\fR
frame buffer colormap structure
.TP
\fB\fIlen\fB\fR
length of \fIcmap\fR
.TP
\fB\fItransp\fB\fR
boolean, 1 if there is transparency, 0 otherwise
.SH "DESCRIPTION"
.PP
Allocates memory for a colormap \fIcmap\fR\&. \fIlen\fR is the
number of entries in the palette.
.PP
Returns -1 errno on error, or zero on success.