The function comedi_command_test() tests the command structure pointed to by the parameter command and returns an integer describing the testing stages that were sucessfully passed. In addition, if elements of the command structure are invalid, they may be modified. Source elements are modified to remove invalid source triggers. Argument elements are adjusted or rounded to the nearest valid value.
XXX return values.