'\" t .\" Title: fb_set_cmap .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Frame Buffer Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "FB_SET_CMAP" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Frame Buffer Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" fb_set_cmap \- set the colormap .SH "SYNOPSIS" .HP \w'int\ fb_set_cmap('u .BI "int fb_set_cmap(struct\ fb_cmap\ *\ " "cmap" ", struct\ fb_info\ *\ " "info" ");" .SH "ARGUMENTS" .PP \fIcmap\fR .RS 4 frame buffer colormap structure .RE .PP \fIinfo\fR .RS 4 frame buffer info structure .RE .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\&. .SH "COPYRIGHT" .br