comedilib/lib
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
..
buffer.c Added some more buffer position functions for use with mmap 2016-05-13 15:14:47 +01:00
calib.c #include <sys/stat.h> needed for fstat(). 2011-01-05 15:02:44 +00:00
calib_lex.l lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble 2013-03-21 15:49:18 +00:00
calib_yacc.y lib/calib_yacc.y: fix segfault in comedi_parse_calibration_file() 2015-08-20 13:02:53 +01:00
cmd.c lib: remove cached cmd_timed and cmd_timed_errno from subdevice 2013-05-07 12:58:30 +01:00
comedi.c Add comedi_set_read_subdevice() and comedi_set_write_subdevice() 2016-05-12 18:10:59 +01:00
data.c lib/data.c: remove unused variables 2013-05-07 13:01:08 +01:00
dio.c Updated comedi_dio_config implementation to reflect logical split 2008-02-12 18:27:00 +00:00
error.c Put __comedi_errno variable into thread-local storage if the compiler 2009-02-18 14:10:54 +00:00
filler.c Fixed do_test_for_insn_bits(), broken by validity checks added to 2008-12-18 17:23:14 +00:00
get.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
insn_config_wrappers.c Add digital trigger configuration functions 2016-03-21 11:28:29 +00:00
ioctl.c Made comedi_ioctl take its third argument as a void* instead of 2008-02-12 01:12:46 +00:00
libinternal.h lib: replace YYPARSE_PARAM and YYLEX_PARAM 2014-01-07 14:24:36 +00:00
Makefile.am lib/Makefile.am: Add 'comedi_la_LIBADD = -lm' 2014-02-13 11:39:35 +00:00
range.c lib/range.c: deal with samples > maxdata when converting to phys 2015-08-24 17:33:11 +01:00
sv.c lib: check some malloc/calloc/realloc failures 2013-05-07 12:32:26 +01:00
timed.c trying to fix undefined symbol problems people are having 2003-05-18 00:26:59 +00:00
timer.c Added some device and subdevice validity checks. 2008-11-05 12:52:25 +00:00
version_script Added some more buffer position functions for use with mmap 2016-05-13 15:14:47 +01:00