CTL_STATUS_t ctl_ms_close_file(CTL_STREAM_t f);
ctl_ms_close_file closes the file f. All unwritten data is flushed to the physical media.
ctl_ms_close_file returns a standard status code.
ctl_ms_close_file is thread-safe.