pic32/libraries/SD/utility/SdFile.cpp
// ALLOW_DEPRECATED_FUNCTIONS
//------------------------------------------------------------------------------
// add a cluster to a file
ALLOW_DEPRECATED_FUNCTIONS
add a cluster to a file
ALLOW_DEPRECATED_FUNCTIONS add a cluster to a file
uint8_t SdFile::addCluster() {
  if (!vol_->allocContiguous(1, &curCluster_)) return false;
  if (firstCluster_ == 0) {
    firstCluster_ = curCluster_;
    flags_ |= F_FILE_DIR_DIRTY;
  }
  return true;
}
uint8_t SdFile :: addCluster ( ) { if ( ! vol_ -> allocContiguous ( 1 , & curCluster_ ) ) return false ; if ( firstCluster_ == 0 ) { firstCluster_ = curCluster_ ; flags_ |= F_FILE_DIR_DIRTY ; } return true ; }
ALLOW_DEPRECATED_FUNCTIONS
add a cluster to a file
ALLOW_DEPRECATED_FUNCTIONS add a cluster to a file
// if first cluster of file link to directory entry