MCPcopy Create free account
hub / github.com/bwapi/bwapi / StrTerminate

Function StrTerminate

bwapi/Util/Source/Util/Convenience.h:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15template <size_t N>
16inline void StrTerminate(char (&str)[N])
17{
18 str[N-1] = '\0';
19};
20
21template <size_t N>
22inline void StrCopy(char(&dst)[N], const char *src)

Callers 2

StrCopyFunction · 0.70
VSNPrintfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected