Previous Page: CPXaddcolsFirst PageNext Page: CPXaddfuncdest

CPXaddfpdest


Description

The CPXaddfpdest() routine adds a file to the list of message destinations for a channel. The destination list for all CPLEX-defined channels is initially empty.

Return Value

The routines return a zero on success, and a nonzero if an error occurs.

Synopsis

int CPXaddfpdest (CPXENVptr env,
                  CPXCHANNELptr channel,
                  CPXFILEptr fileptr);

Arguments


CPXENVptr env
The pointer to the CPLEX environment as returned by one of the CPXopenCPLEX routines.

CPXCHANNELptr channel
The pointer to the channel for which destinations are to be added.

CPXFILEptr fileptr
A pointer to the file to be added to the destination list. Before calling this routine, obtain this pointer with a call to CPXfopen().

Example

CPXaddfpdest (env, mychannel, fileptr);

See Also

Example lpex5.c in the CPLEX User's Manual.

Previous Page: CPXaddcolsFirst PageNext Page: CPXaddfuncdest