.\" 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_SET_CMAP" "" "06 October 2005" "" ""
.SH NAME
fb_set_cmap \- set the colormap
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int fb_set_cmap (struct fb_cmap * \fIcmap\fB, int \fIkspc\fB, struct fb_info * \fIinfo\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcmap\fB\fR
frame buffer colormap structure
.TP
\fB\fIkspc\fB\fR
boolean, 0 copy local, 1 \fBget_user\fR function
.TP
\fB\fIinfo\fB\fR
frame buffer info structure
.SH "DESCRIPTION"
.PP
Sets the colormap \fIcmap\fR for a screen of device \fIinfo\fR\&.
.PP
Returns negative errno on error, or zero on success.