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

Function xmlTextWriterWriteFormatDTD

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:3040–3056  ·  view source on GitHub ↗

* xmlTextWriterWriteFormatDTD: * @writer: the xmlTextWriterPtr * @name: the name of the DTD * @pubid: the public identifier, which is an alternative to the system identifier * @sysid: the system identifier, which is the URI of the DTD * @format: format string (see printf) * @...: extra parameters for the format * * Write a DTD with a formatted markup declarations part. * * Returns

Source from the content-addressed store, hash-verified

3038 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
3039 */
3040int
3041xmlTextWriterWriteFormatDTD(xmlTextWriterPtr writer,
3042 const xmlChar * name,
3043 const xmlChar * pubid,
3044 const xmlChar * sysid, const char *format, ...)
3045{
3046 int rc;
3047 va_list ap;
3048
3049 va_start(ap, format);
3050
3051 rc = xmlTextWriterWriteVFormatDTD(writer, name, pubid, sysid, format,
3052 ap);
3053
3054 va_end(ap);
3055 return rc;
3056}
3057
3058/**
3059 * xmlTextWriterWriteVFormatDTD:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected