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

Function xmlSaveFileEnc

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2965–2968  ·  view source on GitHub ↗

* xmlSaveFileEnc: * @filename: the filename (or URL) * @cur: the document * @encoding: the name of an encoding (or NULL) * * Dump an XML document, converting it to the given encoding * * returns: the number of bytes written or -1 in case of failure. */

Source from the content-addressed store, hash-verified

2963 * returns: the number of bytes written or -1 in case of failure.
2964 */
2965int
2966xmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) {
2967 return ( xmlSaveFormatFileEnc( filename, cur, encoding, 0 ) );
2968}
2969
2970/**
2971 * xmlSaveFormatFile:

Callers

nothing calls this directly

Calls 1

xmlSaveFormatFileEncFunction · 0.85

Tested by

no test coverage detected