1COMEDI_GET_BUFFER_OFFSET(3)                        COMEDI_GET_BUFFER_OFFSET(3)
2
3
4

NAME

6       comedi_get_buffer_offset - streaming buffer status
7

SYNOPSIS

9       #include <comedilib.h>
10
11       int  comedi_get_buffer_offset  (comedi_t  * device, unsigned int subde‐
12       vice);
13

DESCRIPTION

15       The function comedi_get_buffer_offset() is used on a subdevice that has
16       a  Comedi  command  in  progress.   This function returns the offset in
17       bytes of the read pointer in the streaming buffer.  This offset is only
18       useful  for  memory  mapped  buffers.   If  there  is  an  error, -1 is
19       returned.
20
21                                28 October 2007    COMEDI_GET_BUFFER_OFFSET(3)
Impressum