aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_protocol_version_major.3
blob: 0a816f0bbcd6502f9e1aa166de11eff520517856 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.TH libaxl_protocol_version_major 3 libaxl
.SH NAME
libaxl_protocol_version_major - X protocol version, major number
.SH SYNOPSIS
.nf
#include <libaxl.h>

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)