comedilib/include
Ian Abbott aff4937e03 Added some more buffer position functions for use with mmap
Added comedi_get_buffer_read_offset(), comedi_get_buffer_write_offset(),
comedi_get_buffer_read_count(), and comedi_get_buffer_write_count().

comedi_get_buffer_read_offset() is the same as
comedi_get_buffer_offset(), which has now been documented as deprecated,
but is currently still declared in "comedilib.h" by default.  It gets
the read position within the buffer as an offset from the start of the
buffer (modulo the buffer size).

comedi_get_buffer_write_offset() gets the write position within the
buffer as an offset from the start of the buffer (modulo the buffer
size).

comedi_get_buffer_read_count() gets the number of bytes read from the
buffer, modulo UINT_MAX+1.

comedi_get_buffer_write_count() gets the number of bytes written to the
buffer, modulo UINT_MAX+1.
2016-05-13 15:14:47 +01:00
..
comedi.h comedi.h: adjust header comment 2016-03-21 11:27:40 +00:00
comedi_errno.h Fix a couple of typos. 2011-05-11 12:05:55 +01:00
comedilib.h Added some more buffer position functions for use with mmap 2016-05-13 15:14:47 +01:00
comedilib_scxi.h add license header to scxi.c, and caleb as author 2005-02-06 16:25:16 +00:00
comedilib_version.h.in Fix a couple of typos. 2011-05-11 12:05:55 +01:00
Makefile.am Add comedilib_version.h header, produced by ./configure, 2011-01-26 16:29:34 +00:00