Description
The routine CPXdelchannel() flushes all message destinations for a channel, clears the message destination list, and frees the memory allocated to the channel. Upon completion, the pointer to the channel is set to NULL.
CPXdelchannel()
This routine does not have a return value.
void CPXdelchannel (CPXENVptr env, CPXCHANNELptr *channel_p);
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
CPXopenCPLEX()
A pointer to the pointer to the channel containing the message destinations to be flushed, cleared, and destroyed.
CPXdelchannel (env, &mychannel);
lpex5.c