gversion(3G) gversion(3G)
gversion - returns graphics hardware and library version information
long gversion(v)
String v;
v expects a pointer to the location into which to copy a string.
Reserve at least a 12 character buffer.
FUNCTION RETURN VALUE
There is no longer any use for the returned value of this function; it
will always be zero.
gversion fills the buffer, v, with a null-terminated string that
specifies the graphics hardware type of the currently selected screen and
the version number of Graphics Library.
Graphics Type String Returned
B or G GL4D-m.n
GT GL4DGT-m.n
GTX GL4DGTX-m.n
VGX GL4DVGX-m.n
VGXT GL4DVGXT-m.
RealityEngine GL4DRE-m.n
Personal Iris GL4DPI2-m.n
Personal Iris with Turbo Graphics GL4DPIT-m.n
Personal Iris (early serial numbers) GL4DPI-m.n
Entry GL4DLG-m.n
XS GL4DXG-m.n
XS24 GL4DXG-m.n
XZ GL4DXG-m.n
Elan GL4DXG-m.n
Extreme GL4DXG-m.n
Indy GL4DNP-m.n
Solid IMPACT GL4DSLD-m.n
High IMPACT GL4DIMP-m.n
Maximum IMPACT GL4DIMP-m.n
InfiniteReality GL4DINF-m.n
m and n are the major and minor release numbers of the release to which
the Graphics Library belongs.
gversion can be called prior to the first winopen.
scrnselect, winopen
Page 1
gversion(3G) gversion(3G)
uname(2) in the Programmer's Reference Manual.
This subroutine is available only in immediate mode.
Early serial numbers of the Personal Iris do not support the complete
Personal Iris graphics functionality.
The VGXT string is truncated to fit into 12 characters, the minor release
number is not returned.
PPPPaaaaggggeeee 2222 [ Back ]
|