Description
This routine obtains the pointers to the four default channels that are created when one of the CPXopenCPLEX routines is called. In order to manipulate the messages for any of these channels, CPXgetchannels() must be called.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXgetchannels (CPXENVptr env,
CPXCHANNELptr *cpxresults_p,
CPXCHANNELptr *cpxwarning_p,
CPXCHANNELptr *cpxerror_p,
CPXCHANNELptr *cpxlog_p);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXCHANNELptr *cpxresults_pA pointer to a variable of type CPXCHANNELptr that will hold the address of the channel corresponding to
cpxresults. This parameter may be NULL.
CPXCHANNELptr *cpxwarning_pA pointer to a variable of type CPXCHANNELptr that will hold the address of the channel corresponding to
cpxwarning. This parameter may be NULL.
CPXCHANNELptr *cpxerror_pA pointer to a variable of type CPXCHANNELptr that will hold the address of the channel corresponding to
cpxerror. This parameter may be NULL.
CPXCHANNELptr *cpxlog_pA pointer to a variable of type CPXCHANNELptr that will hold the address of the channel corresponding to
cpxlog. This parameter may be NULL.
status = CPXgetchannels (env, &cpxresults, &cpxwarning,
&cpxerror, &cpxlog);