Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XOpDsply(3X) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XOpenDisplay(3X)  —  X Version 11

NAME

XOpenDisplay, XCloseDisplay, XNoOp − connect or disconnect to X server

SYNTAX

Display ∗XOpenDisplay(display_name)
      char ∗display_name;

XCloseDisplay(display)
      Display ∗display;

XNoOp(display)
      Display ∗display;

ARGUMENTS

displaySpecifies the connection to the X server. 

display_name
Specifies the hardware display name, which determines the display and communications domain to be used. On a UNIX-based system, if the display_name is NULL, it defaults to the value of the DISPLAY environment variable.

DESCRIPTION

The XOpenDisplay function returns a Display structure that serves as the connection to the X server and that contains all the information about that X server. XOpenDisplay connects the specified hardware display to the server through TCP, UNIX domain, or DECnet stream communications protocols.

The XCloseDisplay function closes the connection to the X server for the display specified in the Display structure.

The XNoOp function essentially sends a NoOperation request to the X server, thereby exercising the connection.

SEE ALSO

Xlib − C Language X Interface

1 March 1988

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