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

Function xmlBufCat

ThirdParty/libxml2/vtklibxml2/buf.c:812–819  ·  view source on GitHub ↗

* xmlBufCat: * @buf: the buffer to add to * @str: the #xmlChar string * * Append a zero terminated string to an XML buffer. * * Returns 0 successful, a positive error code number otherwise * and -1 in case of internal or API error. */

Source from the content-addressed store, hash-verified

810 * and -1 in case of internal or API error.
811 */
812int
813xmlBufCat(xmlBufPtr buf, const xmlChar *str) {
814 if ((buf == NULL) || (buf->error))
815 return(-1);
816 CHECK_COMPAT(buf)
817 if (str == NULL) return -1;
818 return xmlBufAdd(buf, str, -1);
819}
820
821/**
822 * xmlBufFromBuffer:

Callers 6

xmlTextReaderReadStringFunction · 0.85
xmlBufGetChildContentFunction · 0.85
xmlBufGetNodeContentFunction · 0.85

Calls 1

xmlBufAddFunction · 0.85

Tested by

no test coverage detected