libopenfpga/libopenfpgautil/src/openfpga_digest.cpp
/********************************************************************
 * A most utilized function to validate the file stream
 * This function will error out for a valid/invalid file stream 
 *******************************************************************/
A most utilized function to validate the file stream
This function will error out for a valid/invalid file stream
A most utilized function to validate the file stream This function will error out for a valid / invalid file stream
void check_file_stream(const char* fname, 
                       std::fstream& fp) {
  if (false == valid_file_stream(fp)) {
    VTR_LOG("Invalid file stream for file: %s\n",
            fname);
    exit(1);
  }
}
void check_file_stream ( const char * fname , std :: fstream & fp ) { if ( false == valid_file_stream ( fp ) ) { VTR_LOG ( " \n " , fname ) ; exit ( 1 ) ; } }
A most utilized function to validate the file stream
 This function will error out for a valid/invalid file stream
A most utilized function to validate the file stream This function will error out for a valid / invalid file stream