Share this page

# fclose

Example: fclose | Input-Output Functions

Closes a file.

    int fclose( FILE *file_pointer);

file_pointer | A pointer to the file to close.

## Return Values

If the stream is successfully closed, returns 0. If an error occurs, returns EOF.

For fclose details, refer to your C language documentation.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: