hpux man page for xdisplaystring

Query: xdisplaystring

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 environment variable when the current display was opened.

  XDisplayString() is useful for printing error messages when XOpenDisplay() 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()
Related Man Pages
xclosedisplay(3x11) - redhat
xclosedisplay(3) - debian
xopendisplay(3) - debian
xopendisplay(3) - centos
xclosedisplay(3) - x11r4
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
PHP Man Pages Now Available (Over 10,000)
SAN Migration question
Sequence extraction
Wrong Array...