#include <comedilib.h>
comedi_t * comedi_open (const char * filename);
Open a Comedi device specified by the file filename.
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.