---
name: "fb_set_cmap"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fb_set_cmap"
---

# fb\_set\_cmap(9)

set the colormap

## NAME

fb\_set\_cmap - set the colormap

## SYNOPSIS

**int fb\_set\_cmap(struct fb\_cmap \*** *cmap***, struct fb\_info \*** *info***);**

## ARGUMENTS

*cmap*

frame buffer colormap structure

*info*

frame buffer info structure

## DESCRIPTION

Sets the colormap *cmap* for a screen of device *info*.

Returns negative errno on error, or zero on success.

## COPYRIGHT
