comedi_get_buffer_contents

Langue: en

Version: 28 October 2007 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

comedi_get_buffer_contents - streaming buffer status

SYNOPSIS

#include <comedilib.h>

int comedi_get_buffer_contents (comedi_t * device, unsigned int subdevice);

DESCRIPTION

The function comedi_get_buffer_contents() is used on a subdevice that has a Comedi command in progress. The number of bytes that are available in the streaming buffer is returned. If there is an error, -1 is returned.