Close File

Description

This function closes a previously opened file. This function returns (1) if the file is found and closed or else (0).

C Calling Sequence

int c_rto_close_file(const char *fName);

Arguments

Argument Type   Description
fName Character Array Input File path

FORTRAN Calling Sequence:

DLLFUNC void STDCALL RTO_CLOSE_FILE_F2C(char *CHTDST, int dummylen, int *NCHTDS, int *RETURN_VAL)

Arguments

Argument Type   Description
CHTDST Character Array Input File path
NCHTDS Integer Input The number of characters in the FileName.
RETURN_VAL Integer Output If file is found and closed then it returns 1 or else 0.
Note: Before using any of the other RTO utilities, you must first open a file using this subroutine.