level ostream::write() and istream::read() functions for transferring data during commands.
for comedi_cancel().