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

XDisplayString()					      XDisplayString()

Name
  XDisplayString, DisplayString – get string passed to XOpenDisplay().

Synopsis
  char *XDisplayString(display)
	   Display *display;

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

Returns
  The display name string.

Description
  XDisplayString() returns the string that was passed  to  XOpenDisplay()
  when	the  current display was opened.  On POSIX-conformant systems, if
  the passed string was NULL, it returns the value of the  DISPLAY  envi‐
  ronment variable when the current display was opened.

  XDisplayString()  is	useful for printing error messages when XOpenDis‐
  play() fails, and for applications that invoke the fork system call and
  want	to  open  a  new  connection  to  the same display from the child
  process.

  The C language macro DisplayString() is equivalent  and  slightly  more
  efficient.  XDisplayName() is also a similar function.

See Also
  XOpenDisplay().

Xlib - Macro Equivalents				      XDisplayString()
[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