added cmd related functions
added cmd related functions

Linux-Comedi/comedilib,olsonse/comedilib,Linux-Comedi/comedilib,Linux-Comedi/comedilib,olsonse/comedilib,olsonse/comedilib,olsonse/comedilib,Linux-Comedi/comedilib,Linux-Comedi/comedilib,olsonse/comedilib,Linux-Comedi/comedilib,olsonse/comedilib