XStoreBuffer

Syntax

XStoreBuffer(display, bytes, nbytes, buffer)
      Display *display;
      char *bytes;
      int nbytes;
      int buffer;

Arguments

display Specifies the connection to the X server.
bytes Specifies the bytes, which are not necessarily ASCII or null-terminated.
nbytes Specifies the number of bytes to be stored.
buffer Specifies the buffer in which you want to store the bytes.

Description

If an invalid buffer is specified, the call has no effect. The data can have embedded null characters and need not be null-terminated.

XStoreBuffer() can generate a BadAlloc error.

Diagnostics

BadAlloc The server failed to allocate the requested source or server memory.

See also

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