void PEXSetWorkstationBufferMode( Display *display, PEXWorkstation workstation, intbuffer_mode )
None.
Invoke PEXSetWorkstationBufferMode to set the requested buffer mode of the specified workstation.
If the workstation's display surface attribute is PEXEmpty, or if the dynamic modification for buffer mode is PEXIMM, then this function sets the current buffer mode to the specified buffer mode and sets the buffer update to PEXNotPending. Otherwise, the buffer update is set to PEXPending and the current buffer mode is not changed.
PEXlib defines the following buffer modes: PEXSingleBuffer or PEXDoubleBuffer. If the buffer mode is PEXDoubleBuffer and the implementation cannot allocate the second image buffer, then the implementation issues a BadAlloc error.
For a list of PHIGS Workstation functions and related topics, see PHIGS Workstation.