getmap(3G)
getmap - returns the number of the current color map
Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.
NAME getmap - returns the number of the current color map C SPECIFICATION long getmap() PARAMETERS none FUNCTION RETURN VALUE The returned value of this function is the number of the current color map. DESCRIPTION getmap returns the number of the current color map as set by setmap in multimap mode. In onemap mode, getmap returns zero. SEE ALSO multimap, onemap, setmap NOTES This routine is available only in immediate mode. For Iris Entry, Indy, XL, XS, XS24, XZ, Elan, and Extreme multimap and setmap are not supported so getmap always returns zero.