MCPcopy Create free account
hub / github.com/carbonengine/trinity / fopen_s

Function fopen_s

shadercompiler/stdafx.h:270–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268#ifndef _WIN32
269
270inline errno_t fopen_s( FILE** stream, char const* fileName, char const* mode )
271{
272 *stream = fopen( fileName, mode );
273 if( !*stream )
274 {
275 auto error = errno;
276 return error ? error : -1;
277 }
278 return 0;
279}
280
281#endif

Callers 9

SaveToCMFMethod · 0.85
SaveToCMFMethod · 0.85
SaveMeshToCMFFileMethod · 0.85
IsOutputUpToDateFunction · 0.85
CompileCodeFunction · 0.85
mainFunction · 0.85
OpenMethod · 0.85
SaveReadableRenderTargetFunction · 0.85
LoadDDSFunction · 0.85

Calls

no outgoing calls

Tested by 2

SaveReadableRenderTargetFunction · 0.68
LoadDDSFunction · 0.68