1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>fb_default_cmap</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="ch07s02.html" title="Frame Buffer Colormap"><link rel="prev" href="API-fb-set-cmap.html" title="fb_set_cmap"><link rel="next" href="API-fb-invert-cmaps.html" title="fb_invert_cmaps"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">fb_default_cmap</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-fb-set-cmap.html">Prev</a> </td><th width="60%" align="center">Frame Buffer Colormap</th><td width="20%" align="right"> <a accesskey="n" href="API-fb-invert-cmaps.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-fb-default-cmap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>fb_default_cmap — 2 get default colormap 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">const struct fb_cmap * <b class="fsfunc">fb_default_cmap </b>(</code></td><td>int <var class="pdparam">len</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1114005860"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>len</code></em></span></dt><dd><p> 4 size of palette for a depth 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1114007468"></a><h2>Description</h2><p> 6 Gets the default colormap for a specific screen depth. <em class="parameter"><code>len</code></em> 7 is the size of the palette for a particular screen depth. 8 </p><p> 9 10 Returns pointer to a frame buffer colormap structure. 11</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-fb-set-cmap.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch07s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-fb-invert-cmaps.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">fb_set_cmap</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">fb_invert_cmaps</span></td></tr></table></div></body></html> 12