hpux man page for xprotocol

Query: xprotocol

OS: hpux

Section: 3

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

XProtocol()															       XProtocol()

Name
  XProtocolRevision, XProtocolVersion, ProtocolRevision, ProtocolVersion - return protocol release or version.

Synopsis
  int XProtocolRevision(display)
	   Display *display;
  int XProtocolVersion(display)
	   Display *display;

Arguments
  display   Specifies 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 - Macro Equivalents													       XProtocol()
Related Man Pages
allplanes(3x11) - ultrix
defaultscreen(3x11) - ultrix
defaultscreenofdisplay(3x11) - ultrix
defaultvisual(3x11) - ultrix
lastknownrequestprocessed(3x11) - ultrix
Similar Topics in the Unix Linux Community
How to extract every repeated string between two specific string?
SAN Migration question
Sequence extraction
Hpux 11iV3 administration document
Thank you members and admins