Overview | Group | Index | Concepts |
The routine CPXfclose
closes files that are used in
conjunction with the routines CPXaddfpdest
,
CPXdelfpdest
, and CPXsetlogfile
. It is used in
the same way as the standard C library function fclose
. Files
that are opened with the routine CPXfopen
must be closed with
the routine CPXfclose
.
When to use this routine
Call this routine only after the
message destinations
that use the file pointer have been closed or deleted. Those destinations
(such as log files)
might be specified by routines such as CPXaddfpdest
,
CPXdelfpdest
, and CPXsetlogfile
.
Example
CPXfclose (fp);
See lpex5.c
in the CPLEX User's Manual.
stream | A pointer to a file opened by the routine |
The routine returns zero if successful and nonzero if an error
occurs. The syntax is identical to the standard C library routine
fclose
.