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

Function xmlTextWriterWriteFormatElement

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:2162–2176  ·  view source on GitHub ↗

* xmlTextWriterWriteFormatElement: * @writer: the xmlTextWriterPtr * @name: element name * @format: format string (see printf) * @...: extra parameters for the format * * Write a formatted xml element. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */

Source from the content-addressed store, hash-verified

2160 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
2161 */
2162int
2163xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer,
2164 const xmlChar * name, const char *format,
2165 ...)
2166{
2167 int rc;
2168 va_list ap;
2169
2170 va_start(ap, format);
2171
2172 rc = xmlTextWriterWriteVFormatElement(writer, name, format, ap);
2173
2174 va_end(ap);
2175 return rc;
2176}
2177
2178/**
2179 * xmlTextWriterWriteVFormatElement:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected