MCPcopy Create free account
hub / github.com/OpenSteamClient/OpenSteamClient / V_strncpy

Function V_strncpy

include/opensteamworks/steamutl/strtools.cpp:200–214  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: copy a string while observing the maximum length of the target buffer Inputs: pDest - pointer to the destination string pSrc - pointer to the source string maxLen - number of bytes available at pDest This function will always leave pDest nul-terminated if maxLen > 0 maxLen is a count of bytes, not a count of

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

AllocStringFunction · 0.85
CopyAndAddToTailMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected