MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlStrASPrintf

Function xmlStrASPrintf

ThirdParty/libxml2/vtklibxml2/xmlstring.c:726–736  ·  view source on GitHub ↗

* xmlStrASPrintf: * @out: pointer to the resulting string * @maxSize: maximum size of the output buffer * @msg: printf format string * @...: arguments for format string * * See xmlStrVASPrintf. * * Returns 0 on success, 1 if the result was truncated or on other * errors, -1 if a memory allocation failed. */

Source from the content-addressed store, hash-verified

724 * errors, -1 if a memory allocation failed.
725 */
726int
727xmlStrASPrintf(xmlChar **out, int maxSize, const char *msg, ...) {
728 va_list ap;
729 int ret;
730
731 va_start(ap, msg);
732 ret = xmlStrVASPrintf(out, maxSize, msg, ap);
733 va_end(ap);
734
735 return(ret);
736}
737
738/************************************************************************
739 * *

Callers

nothing calls this directly

Calls 1

xmlStrVASPrintfFunction · 0.85

Tested by

no test coverage detected