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

XCloseDisplay()						       XCloseDisplay()

Name
  XCloseDisplay	 –  disconnect a client program from an X server and dis‐
  play.

Synopsis
  XCloseDisplay(display)
	Display *display;

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

Description
  XCloseDisplay()  closes  the	connection between the current client and
  the X server specified by the Display argument.

  The XCloseDisplay() routine destroys all windows, resource IDs (Window,
  Font, Pixmap, Colormap, Cursor, and GContext), or other resources (GCs)
  that the client application has created on  this  display,  unless  the
  close	 down  mode  of	 the client's resources has been changed by XSet‐
  CloseDownMode().  Therefore, these windows,  resource	 IDs,  and  other
  resources  should  not  be referenced again.	In addition, this routine
  discards any requests that have been buffered but not yet sent  to  the
  server.

  Although  these  operations  automatically  (implicitly)  occur  when a
  process exits under UNIX, you should	call  XCloseDisplay()  anyway  so
  that	any  pending  errors  are  reported as XCloseDisplay() performs a
  final XSync() operation.

  For more information, see Volume One, Chapter 3, Basic Window Program.

Errors
  BadGC	    Default GC already freed.

See Also
  XDefaultScreen(), XFree(), XNoOp(), XOpenDisplay().

Xlib - HouseKeeping					       XCloseDisplay()
[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