ClassesClasses | | Operators

close_io_channelclose_io_channelCloseIoChannelCloseIoChannel (Operator)

Name

close_io_channelclose_io_channelCloseIoChannelCloseIoChannel — Close I/O channels.

Signature

close_io_channel( : : IOChannelHandle : )

Herror close_io_channel(const Hlong IOChannelHandle)

Herror T_close_io_channel(const Htuple IOChannelHandle)

void CloseIoChannel(const HTuple& IOChannelHandle)

static void HOperatorSet.CloseIoChannel(HTuple IOChannelHandle)

Description

The operator close_io_channelclose_io_channelCloseIoChannelCloseIoChannelCloseIoChannel closes transmission channels opened by open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannel. The references to the channels are passed in IOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandle. In particular, allocated memory and reserved device resources are released.

Execution Information

Parameters

IOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandle (input_control)  io_channel(-array) HIOChannel, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handles of the opened I/O channels.

Result

If the parameters are valid, the operator close_io_channelclose_io_channelCloseIoChannelCloseIoChannelCloseIoChannel returns the value 2 (H_MSG_TRUE). If necessary an exception is raised. In this case, an extended error information may be set and can be queried with the operator get_extended_error_infoget_extended_error_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfo.

Possible Predecessors

open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannel

Possible Successors

close_io_deviceclose_io_deviceCloseIoDeviceCloseIoDeviceCloseIoDevice

Module

Foundation


ClassesClasses | | Operators