pic32/libraries/SD/utility/SdFile.cpp
//------------------------------------------------------------------------------
/**
 *  Close a file and force cached data and directory information
 *  to be written to the storage device.
 *
 * \return The value one, true, is returned for success and
 * the value zero, false, is returned for failure.
 * Reasons for failure include no file is open or an I/O error.
 */
Close a file and force cached data and directory information
to be written to the storage device.

\return The value one, true, is returned for success and
the value zero, false, is returned for failure.
Reasons for failure include no file is open or an I/O error.
Close a file and force cached data and directory information to be written to the storage device . \ return The value one true is returned for success and the value zero false is returned for failure . Reasons for failure include no file is open or an I / O error .
uint8_t SdFile::close(void) {
  if (!sync())return false;
  type_ = FAT_FILE_TYPE_CLOSED;
  return true;
}
uint8_t SdFile :: close ( void ) { if ( ! sync ( ) ) return false ; type_ = FAT_FILE_TYPE_CLOSED ; return true ; }
Close a file and force cached data and directory information
  to be written to the storage device.
Close a file and force cached data and directory information to be written to the storage device .