From 4a968d807d2ec611f443d704ae875911894c04e2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 May 2020 13:44:06 +0200 Subject: A few things MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libaxl_protocol_version_major.3 | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libaxl_protocol_version_major.3 (limited to 'libaxl_protocol_version_major.3') diff --git a/libaxl_protocol_version_major.3 b/libaxl_protocol_version_major.3 new file mode 100644 index 0000000..0a816f0 --- /dev/null +++ b/libaxl_protocol_version_major.3 @@ -0,0 +1,34 @@ +.TH libaxl_protocol_version_major 3 libaxl +.SH NAME +libaxl_protocol_version_major - X protocol version, major number +.SH SYNOPSIS +.nf +#include + +int libaxl_protocol_version_major(void); +.fi +.SH DESCRIPTION +The +.BR libaxl_protocol_version_major () +function returns the major number of the +highest version of the X protocol that +the library, as linked against, supports. +.SH RETURN VALUE +The +.BR libaxl_protocol_version_major () +function returns the major number of the +highest supported version of the X protocol. +.SH ERRORS +The +.BR libaxl_protocol_version_major () +function cannot fail. +.SH NOTES +There is no corresponding function 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_MAJOR (3), +.BR libaxl_protocol_version_minor (3), +.BR libaxl_protocol_version (3) -- cgit v1.2.3-70-g09d2