Servers/Filters/vtkGenericEnSightReader2.cxx
int vtkGenericEnSightReader2::ReadBinaryLine(char result[80])
{
  int n = static_cast<int>(fread(result, sizeof(char), 80, this->IFile));

  if ((n<80) || feof(this->IFile) || ferror(this->IFile))
    {
    return 0;
    }

  return 1;
}
//----------------------------------------------------------------------------
// Internal function to read in a line (from a binary file) up
// to 80 characters.  Returns zero if there was an error.
Internal function to read in a line (from a binary file) up
to 80 characters.  Returns zero if there was an error.
Internal function to read in a line ( from a binary file ) up to 80 characters . Returns zero if there was an error .
int vtkGenericEnSightReader2::ReadBinaryLine(char result[80])
{
  int n = static_cast<int>(fread(result, sizeof(char), 80, this->IFile));
  if ((n<80) || feof(this->IFile) || ferror(this->IFile))
    {
    return 0;
    }
  return 1;
}
int vtkGenericEnSightReader2 :: ReadBinaryLine ( char result [ 80 ] ) { int n = static_cast < int > ( fread ( result , sizeof ( char ) , 80 , this -> IFile ) ) ; if ( ( n < 80 ) || feof ( this -> IFile ) || ferror ( this -> IFile ) ) { return 0 ; } return 1 ; }
Internal function to read in a line (from a binary file) up
to 80 characters.
Internal function to read in a line ( from a binary file ) up to 80 characters .