* 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. */
| 2963 | * returns: the number of bytes written or -1 in case of failure. |
| 2964 | */ |
| 2965 | int |
| 2966 | xmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) { |
| 2967 | return ( xmlSaveFormatFileEnc( filename, cur, encoding, 0 ) ); |
| 2968 | } |
| 2969 | |
| 2970 | /** |
| 2971 | * xmlSaveFormatFile: |
nothing calls this directly
no test coverage detected