Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XProtocolRevision, XProtocolVersion, ProtocolRevision, ProtocolVersion — return protocol release or version. 

SYNOPSIS

int XProtocolRevision(display)
      Display ∗display; int XProtocolVersion(display)
      Display ∗display;

ARGUMENTS

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

RETURNS

The revision or version number. 

DESCRIPTION

XProtocolRevision() returns the minor protocol revision number of the X server.  XProtocolVersion() returns the major version number of the X protocol associated with the connected display.  As of Release 4 and 5, the protocol revision level is zero, and the major version number is 11. 

The C language macros ProtocolRevision() and ProtocolVersion() are equivalent and slightly more efficient. 

SEE ALSO

XVendorRelease(), XServerVendor(). 

Xlib Reference Manual

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