getdisplaymode(3) — Unix Programmer’s Manual
NAME
getdisplaymode - return the current display mode
SYNOPSIS
C
short getdisplaymode()
FORTRAN
integer∗2 function getdis()
Pascal
function getdisplaymode: Short;
DESCRIPTION
Getdisplaymode returns the current display mode, where
| value | display mode |
| 0 | RGB mode |
| 1 | single buffer mode |
| 2 | double buffer mode |
SEE ALSO
doublebuffer, RGBmode, singlebuffer
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c