Error("UpdateColormap"); FatalError( "UpdateColormap: WSDISPLAY_PUTCMAP failed\n" );
hpcError("UpdateColormap"); hpcFatalError(("UpdateColormap: WSDISPLAY_PUTCMAP failed\n"));
hpcUpdateColormap(pScreen, dex, count, rmap, gmap, bmap)    ScreenPtr	pScreen;    int		dex, count;    u_char	*rmap, *gmap, *bmap;{    struct wsdisplay_cmap cmap;    hpcFbPtr pFb = hpcGetScreenFb(pScreen);    cmap.index = dex;    cmap.count = count;    cmap.red = &rmap[dex];    cmap.green = &gmap[dex];    cmap.blue = &bmap[dex];    if (ioctl(pFb->fd, WSDISPLAYIO_PUTCMAP, &cmap) < 0) {	Error("UpdateColormap");	FatalError( "UpdateColormap: WSDISPLAY_PUTCMAP failed\n" );    }}