XProtocol man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

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()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net