XFetchBuffer man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XFetchBuffer()							XFetchBuffer()

Name
  XFetchBuffer – return data from a cut buffer.

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

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  nbytes_return
	    Returns the number of bytes in  buffer  returned  by  XFetch‐
	    Buffer().	If there is no data in the buffer, *nbytes_return
	    is set to 0.

  buffer    Specifies which buffer you want data from.	Specify an  inte‐
	    ger from 0 to 7 inclusive.

Returns
  The buffer data.

Description
  XFetchBuffer()  returns data from one of the eight buffers provided for
  interclient communication.  If the buffer contains data, XFetchBuffer()
  returns the number of bytes in nbytes_return, otherwise it returns NULL
  and sets *nbytes_return to 0.	 The appropriate  amount  of  storage  is
  allocated  and  the pointer returned; the client must free this storage
  when finished with it by calling XFree().  Note  that	 the  cut  buffer
  does	not  necessarily  contain  text,  so it may contain embedded null
  bytes and may not terminate with a null byte.

  Selections are preferred over cut buffers as a communication scheme.

  For more information on cut buffers, see Volume One, Chapter 15,  Other
  Programming Techniques.

Errors
  BadValue  buffer not an integer between 0 and 7 inclusive.

See Also
  XFetchBytes(), XRotateBuffers(), XStoreBuffer(), XStoreBytes().

Xlib - Cut Buffers						XFetchBuffer()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net