COMEDI_GET_BUFFER_OFFSET(3)

NAME

comedi_get_buffer_offset - streaming buffer status

SYNOPSIS

#include <comedilib.h>

int  comedi_get_buffer_offset  (comedi_t  * device, unsigned int subde-
vice);

DESCRIPTION

The function comedi_get_buffer_offset() is used on a subdevice that has a Comedi command in progress. This function returns the offset in bytes of the read pointer in the streaming buffer. This offset is only useful for memory mapped buffers. If there is an error, -1 is returned.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout