#include <comedilib.h>
int comedi_close(comedi * device);
int comedi_close
Close a device previously opened by comedi_open().
If sucessful, comedi_close returns 0. On failure, -1 is returned.