This function closes a previously opened file. This function returns (1) if the file is found and closed or else (0).
int c_rto_close_file(const char *fName);
Argument |
Type |
|
Description |
---|---|---|---|
fName |
Character Array |
Input |
File path |
DLLFUNC void STDCALL RTO_CLOSE_FILE_F2C(char *CHTDST, int dummylen, int *NCHTDS, int *RETURN_VAL)
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. |