Name

comedi_unlock — subdevice reservation

Synopsis

#include <comedilib.h>
int comedi_unlock(comedi_t * device,
 unsigned int subdevice);
 

Description

The function comedi_unlock releases a subdevice locked by comedi_lock.

Return value

0 on success, otherwise -1.