hpux man page for xdisplayname

Query: xdisplayname

OS: hpux

Section: 3

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

XDisplayName()															    XDisplayName()

Name
  XDisplayName - report the display name (when connection to a display fails).

Synopsis
  char *XDisplayName(string)
	char *string;

Arguments
  string    Specifies the character string.

Returns
  The display name string.

Description
  XDisplayName()  is  normally	used  to report the name of the display the program attempted to open with XOpenDisplay().  This is necessary
  because X error handling begins only after the connection to the server succeeds.

  If a NULL string is specified, XDisplayName() looks in the DISPLAY environment variable and returns the display  name  that  the  user  was
  requesting.  Otherwise, XDisplayName() returns its own argument.

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

See Also
  XGetErrorDatabaseText(), XGetErrorText(), XSetAfterFunction(), XSetErrorHandler(), XSetIOErrorHandler(), XSynchronize().

Xlib - Error Handling														    XDisplayName()
Related Man Pages
xdisplayname(3) - debian
xgeterrordatabasetext(3) - debian
xdisplayname(3) - centos
xsetioerrorhandler(3) - centos
xgeterrortext(3) - suse
Similar Topics in the Unix Linux Community
compile xev on HPUX 10.20 - errors
XWindows programming + gcc linker options