Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XRotateBuff(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XRotateBuffers − rotate the cut buffers. 

Synopsis

XRotateBuffers(display, rotate)
Display *display;
int rotate;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

rotateSpecifies how many positions to rotate the cut buffers. 

Description

XRotateBuffers() rotates the 8 cut buffers the amount specified by rotate.  The contents of buffer 0 moves to buffer rotate, contents of buffer 1 moves to buffer (rotate+1) mod 8, contents of buffer 2 moves to buffer (rotate+2) mod 8, and so on.  This routine will not work if any of the buffers have not been stored into with XStoreBuffer() or XStoreBytes().  This cut buffer numbering is global to the display.  See the description of cut buffers in Volume One, Chapter 13, Other Programming Techniques. 

Errors

BadMatch

See Also

XFetchBuffer(), XFetchBytes(), XStoreBuffer(), XStoreBytes(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026