libopenfpga/libopenfpgautil/src/openfpga_digest.cpp
/******************************************************************** 
 * Write a number of tab to a file 
 ********************************************************************/
Write a number of tab to a file
Write a number of tab to a file
bool write_tab_to_file(std::fstream& fp,
                       const size_t& num_tab) {
  if (false == valid_file_stream(fp)) {
    return false;
  }
  for (size_t i = 0; i < num_tab; ++i) {
    fp << "\t";
  }
  return true;
}
bool write_tab_to_file ( std :: fstream & fp , const size_t & num_tab ) { if ( false == valid_file_stream ( fp ) ) { return false ; } for ( size_t i = 0 ; i < num_tab ; ++ i ) { fp << " \t " ; } return true ; }
Write a number of tab to a file
Write a number of tab to a file