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

Function xmlTextWriterWriteFormatAttribute

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:1959–1973  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1957 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
1958 */
1959int
1960xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer,
1961 const xmlChar * name, const char *format,
1962 ...)
1963{
1964 int rc;
1965 va_list ap;
1966
1967 va_start(ap, format);
1968
1969 rc = xmlTextWriterWriteVFormatAttribute(writer, name, format, ap);
1970
1971 va_end(ap);
1972 return rc;
1973}
1974
1975/**
1976 * xmlTextWriterWriteVFormatAttribute:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected