XSetCloseDownMode 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]

XSetCloseDownMode()					   XSetCloseDownMode()

Name
  XSetCloseDownMode – change the close down mode of a client.

Synopsis
  XSetCloseDownMode(display, close_mode)
	Display *display;
	int close_mode;

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

  close_mode
	    Specifies the client close down mode you want.  Pass  one  of
	    these  constants:  DestroyAll, RetainPermanent, or RetainTem‐
	    porary.

Description
  XSetCloseDownMode() defines what will happen to the client's	resources
  at  connection  close.   A  connection  between a client and the server
  starts in DestroyAll mode, and all resources associated with that  con‐
  nection  will be freed when the client process dies.	If the close down
  mode is RetainTemporary or RetainPermanent when the  client  dies,  its
  resources live on until a call to XKillClient().  The resource argument
  of XKillClient() can be used to specify which client to kill, or it may
  be  the  constant  AllTemporary,  in which case XKillClient() kills all
  resources of all clients that have terminated in RetainTemporary mode.

  One use of RetainTemporary or RetainPermanent	 might	be  to	allow  an
  application  to recover from a failure of the network connection to the
  display server.  After restarting, the application  would  need  to  be
  able to identify its own resources and reclaim control of them.

Errors
  BadValue

See Also
  XKillClient().

Xlib - Client Connections				   XSetCloseDownMode()
[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