~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/doc/man/GL/glx/xqueryversion.3gl

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\"! eqn | mmdoc
 
2
'\"macro stdmacro
 
3
.ds Vn Version 1.2
 
4
.ds Dt 6 March 1997
 
5
.ds Re Release 1.2.0
 
6
.ds Dp Feb 16 02:56
 
7
.ds Dm  Feb 10 17:2
 
8
.ds Xs 36423 3 xqueryversion.gl
 
9
.TH GLXQUERYVERSION
 
10
.SH NAME
 
11
glXQueryVersion
 
12
\- return the version numbers of the GLX extension
 
13
 
 
14
.SH C SPECIFICATION
 
15
Bool \f3glXQueryVersion\fP(
 
16
Display \fI*dpy\fP,
 
17
.nf
 
18
.ta \w'\f3Bool \fPglXQueryVersion( 'u
 
19
        int \fI*major\fP,
 
20
        int \fI*minor\fP )
 
21
.fi
 
22
 
 
23
.EQ
 
24
delim $$
 
25
.EN
 
26
.SH PARAMETERS
 
27
.TP \w'\fImajor\fP\ \ 'u 
 
28
\f2dpy\fP
 
29
Specifies the connection to the X server.
 
30
.TP
 
31
\f2major\fP
 
32
Returns the major version number of the GLX server extension.
 
33
.TP
 
34
\f2minor\fP
 
35
Returns the minor version number of the GLX server extension.
 
36
.SH DESCRIPTION
 
37
\f3glXQueryVersion\fP returns the major and minor version numbers of the GLX extension
 
38
implemented by the server associated with connection \f2dpy\fP.
 
39
Implementations with the same major version number are upward compatible,
 
40
meaning that the implementation with the higher minor number is a superset
 
41
of the version with the lower minor number.
 
42
.P
 
43
\f2major\fP and \f2minor\fP do not return values if they are specified as
 
44
\f3NULL\fP. 
 
45
.SH ERRORS
 
46
\f3glXQueryVersion\fP returns \f3False\fP if it fails,
 
47
\f3True\fP otherwise.
 
48
.P
 
49
\f2major\fP and \f2minor\fP are not updated when \f3False\fP is returned.
 
50
.SH SEE ALSO
 
51
\f3glXQueryExtension\fP