table of contents
COMEDI_GET_VERSION_C(3) | Comedi reference | COMEDI_GET_VERSION_C(3) |
NAME¶
comedi_get_version_code - Comedi version codeSYNOPSIS¶
#include <comedilib.h>
int
comedi_get_version_code(comedi_t * device);
DESCRIPTION¶
Returns the Comedi kernel module version code. A valid Comedi device referenced by the parameter device is necessary to communicate with the kernel module. On error, -1 is returned. The version code is encoded as a bitfield of three 8-bit numbers. For example, 0x00073d is the version code for version 0.7.61. This function is of limited usefulness. A typical mis-application of this function is to use it to determine if a certain feature is supported. If the application needs to know of the existence of a particular feature, an existence test function should be written and put in the Comedilib source.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
Éric Piel <piel@delmic.com>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/14/2014 | Comedi |