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
xopendisplay(3x11) - redhat
xclosedisplay(3) - debian
xclosedisplay(3) - centos
xclosedisplay(3) - x11r4
xopendisplay(3) - linux
Similar Topics in the Unix Linux Community
Unix File Permissions
PHP Man Pages Now Available (Over 10,000)
Is UNIX an open source OS ?
Hpux 11iV3 administration document
Thank you members and admins