NO FRAMES

CPXfclose

int CPXPUBLIC CPXfclose(CPXFILEptr stream)
Definition file: cplex.h
Include files: cplex.h

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.

Example

 CPXfclose (fp);
 

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

Parameters:

stream

A pointer to a file opened by the routine CPXfopen.

Returns:

This routine returns zero on success and nonzero if a failure occurs. The syntax is identical to the standard C library routine fclose.