Close a serial device.
close_serial closes a serial device that was opened with open_serial.
|
SerialHandle (input_control) |
serial_id -> integer |
| Serial interface handle. | |
If the parameters are correct and the device could be closed, the operator close_serial returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.
close_serial is reentrant and processed without parallelization.
Foundation