xsetclosedownmode(3) hpux man page | unix.com

Man Page: xsetclosedownmode

Operating Environment: hpux

Section: 3

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 RetainTemporary.

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 connection 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 argu-
  ment 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()
Related Man Pages
xkillclient(3) - debian
xkillclient(3) - centos
xkillclient(3) - opensolaris
xsetclosedownmode(3) - sunos
xkillclient(3) - freebsd
Similar Topics in the Unix Linux Community
PHP Man Pages Now Available (Over 10,000)
Hpux 11iV3 administration document
Thank you members and admins
awk - Multi-line data to be stored in variable
Tar Command