getwritemask(3G)
getwritemask - returns the current writemask
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME getwritemask - returns the current writemask C SPECIFICATION long getwritemask() PARAMETERS none FUNCTION RETURN VALUE The returned value of this function is the current writemask for the current drawing mode. DESCRIPTION getwritemask returns the current writemask of the current drawing mode. Each bit in the writemask corresponds to an available bitplane. Thus, bit 2 describes bitplane 2 and so on. When a bit is set to zero in the writemask, the corresponding bitplane is read only. This routine is undefined in RGB mode. SEE ALSO RGBwritemask, writemask, drawmode NOTE This routine is available only in immediate mode.