getwri(3G)
getwri - returns the current writemask
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME getwri - returns the current writemask FORTRAN 77 SPECIFICATION integer*4 function getwri() PARAMETERS none FUNCTION RETURN VALUE The returned value of this function is the current writemask for the current drawing mode. DESCRIPTION getwri 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 RGBwri, writem, drawmo NOTE This routine is available only in immediate mode.