Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XConnection(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XConnectionNumber, ConnectionNumber − get connection number or file descriptor. 

Synopsis

int XConnectionNumber(display)

      Display *display;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

Description

XConnectionNumber() returns the connection number for the specified display.  On a POSIX-conformant system, this is the file descriptor of the connection.  The C language macro ConnectionNumber() is equivalent and slightly more efficient. 

Copyright O’Reilly & Assoc.  —  

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