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

Function xmlTextWriterWriteFormatPI

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:2516–2529  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2514 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
2515 */
2516int
2517xmlTextWriterWriteFormatPI(xmlTextWriterPtr writer, const xmlChar * target,
2518 const char *format, ...)
2519{
2520 int rc;
2521 va_list ap;
2522
2523 va_start(ap, format);
2524
2525 rc = xmlTextWriterWriteVFormatPI(writer, target, format, ap);
2526
2527 va_end(ap);
2528 return rc;
2529}
2530
2531/**
2532 * xmlTextWriterWriteVFormatPI:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected