comedi_open

Name

comedi_open -- open a Comedi device

Synopsis

#include <comedilib.h>

comedi_t comedi_open(const char * filename);

Description

Open a Comedi device specified by the file filename.

Return value

If sucessful, comedi_open returns a pointer to a valid comedi_t structure. This structure is transparent; the pointer should not be dereferenced by the application. NULL is returned on failure.