XFetchBuffer

Syntax

char *XFetchBuffer(display, nbytes_return, buffer)
      Display *display;
      int *nbytes_return;
      int buffer;

Arguments

display Specifies the connection to the X server.
nbytes_return Returns the number of bytes in the buffer.
buffer Specifies the buffer from which you want the stored data returned.

Description

The XFetchBuffer() function returns zero to the nbytes_return argument if there is no data in the buffer or if an invalid buffer is specified.

See also

XFetchBytes(), XRotateBuffers(), XStoreBuffer(), XStoreBytes(), "Using Cut Buffers".
Christophe Tronche, ch@tronche.com