int comedi_get_cmd_src_mask(comedi_t * device, unsigned int subdevice, comedi_cmd * command);
Overview
The command capabilities of the subdevice indicated by the parameters device and subdevice are probed, and the results placed in the command structure pointed to by command. The trigger source elements of the command structure are set to be the bitwise-or of the subdevice's supported trigger sources. Other elements in the structure are undefined.
Return value
On success, 0 is returned. On failure, -1 is returned.
Releases
12 releases since Debian 3.0 (Woody); the text changed 9 times.