Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DisplayName(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

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

SYNOPSIS

char ∗XDisplayName(string) char ∗string;

ARGUMENTS

stringSpecifies 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 Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026