Close the file if open.
void close( error_code& ec);
Name
Description
ec
Set to the error, if any occurred.