Name

comedi_close — close a Comedi device

Synopsis

#include <comedilib.h>
int comedi_close(comedi * device);
 

Description

Close a device previously opened by comedi_open.

Return value

If successful, comedi_close returns 0. On failure, -1 is returned.