From 0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 21 Jun 2020 12:09:51 +0200 Subject: Move man pages into a separate directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man3/libaxl_protocol_version.3 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 man3/libaxl_protocol_version.3 (limited to 'man3/libaxl_protocol_version.3') diff --git a/man3/libaxl_protocol_version.3 b/man3/libaxl_protocol_version.3 new file mode 100644 index 0000000..38f5871 --- /dev/null +++ b/man3/libaxl_protocol_version.3 @@ -0,0 +1,29 @@ +.TH libaxl_protocol_version 3 libaxl +.SH NAME +libaxl_protocol_version - X protocol version +.SH SYNOPSIS +.nf +#include + +extern const int libaxl_protocol_version; +.fi +.SH DESCRIPTION +The +.B libaxl_protocol_version +variable is set to the number, as the sum of the +major number multiplied by 1000 and the minor +number, of the highest version of the X protocol +that the library, as linked against, supports. +For example if the version number is 11.0, 11000 +is returned, and if it is 11.2, 11002 is assigned +to the variable. +.SH NOTES +There is no corresponding variable for the +lowest supported version. The lowest supported +version is 11.0 (X11); X11 was released in +September 1987 and predates Linux, thus +this is extremely unlikely this will change. +.SH SEE ALSO +.BR LIBAXL_PROTOCOL_VERSION (3), +.BR libaxl_protocol_version_major (3), +.BR libaxl_protocol_version_minor (3) -- cgit v1.2.3-70-g09d2