MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / clearBuff

Method clearBuff

src/thundersvm/util/log.cpp:930–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928 }
929
930 char* Str::clearBuff(char buff[], std::size_t lim) {
931 STRCPY(buff, "", lim);
932 ELPP_UNUSED(lim); // For *nix we dont have anything using lim in above STRCPY macro
933 return buff;
934 }
935
936/// @brief Converst wchar* to char*
937/// NOTE: Need to free return value after use!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected