MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / FatalError

Function FatalError

examples/example_chat.cpp:67–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static void FatalError( const char *fmt, ... )
68{
69 char text[ 2048 ];
70 va_list ap;
71 va_start( ap, fmt );
72 vsprintf( text, fmt, ap );
73 va_end(ap);
74 char *nl = strchr( text, '\0' ) - 1;
75 if ( nl >= text && *nl == '\n' )
76 *nl = '\0';
77 DebugOutput( k_ESteamNetworkingSocketsDebugOutputType_Bug, text );
78}
79
80static void Printf( const char *fmt, ... )
81{

Callers 6

RunMethod · 0.70
PollIncomingMessagesMethod · 0.70
RunMethod · 0.70
PollIncomingMessagesMethod · 0.70
mainFunction · 0.70

Calls 1

DebugOutputFunction · 0.70

Tested by

no test coverage detected