close_serialT_close_serialCloseSerialCloseSerial (Operator)
Name
close_serialT_close_serialCloseSerialCloseSerial
— Close a serial device.
Signature
Description
close_serialclose_serialCloseSerialCloseSerialCloseSerial
closes a serial device that was opened with
open_serialopen_serialOpenSerialOpenSerialOpenSerial
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SerialHandleSerialHandleSerialHandleSerialHandleserialHandle
(input_control) serial →
HSerial, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Serial interface handle.
Result
If the parameters are correct and the device could be closed, the
operator close_serialclose_serialCloseSerialCloseSerialCloseSerial
returns the value 2 (H_MSG_TRUE). Otherwise an
exception is raised.
Possible Predecessors
open_serialopen_serialOpenSerialOpenSerialOpenSerial
See also
open_serialopen_serialOpenSerialOpenSerialOpenSerial
,
close_fileclose_fileCloseFileCloseFileCloseFile
Module
Foundation