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

Method VaPrintf

src/tier1/utlbuffer.cpp:1371–1378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369
1370
1371void CUtlBuffer::VaPrintf( const char* pFmt, va_list list )
1372{
1373 char temp[2048];
1374 int nLen = V_vsnprintf( temp, sizeof( temp ), pFmt, list );
1375 Assert( nLen < 2048 );
1376 (void)nLen; // Suppress warning if asserts aren't enabled
1377 PutString( temp );
1378}
1379
1380void CUtlBuffer::Printf( const char* pFmt, ... )
1381{

Callers

nothing calls this directly

Calls 1

V_vsnprintfFunction · 0.85

Tested by

no test coverage detected