MCPcopy Create free account
hub / github.com/Kitware/VTK / WriteTerminatedStringToFile

Method WriteTerminatedStringToFile

IO/Parallel/vtkEnSightWriter.cxx:1158–1161  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1156
1157//------------------------------------------------------------------------------
1158void vtkEnSightWriter::WriteTerminatedStringToFile(const char* cstring, FILE* file)
1159{
1160 fwrite(cstring, sizeof(char), std::min(strlen(cstring), static_cast<size_t>(512)), file);
1161}
1162
1163//------------------------------------------------------------------------------
1164void vtkEnSightWriter::WriteIntToFile(int i, FILE* file)

Callers 2

WriteCaseFileMethod · 0.95
WriteSOSCaseFileMethod · 0.95

Calls 1

minFunction · 0.50

Tested by

no test coverage detected