* xmlTextWriterWriteFormatComment: * @writer: the xmlTextWriterPtr * @format: format string (see printf) * @...: extra parameters for the format * * Write an xml comment. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */
| 857 | * Returns the bytes written (may be 0 because of buffering) or -1 in case of error |
| 858 | */ |
| 859 | int |
| 860 | xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, |
| 861 | const char *format, ...) |
| 862 | { |
| 863 | int rc; |
| 864 | va_list ap; |
| 865 | |
| 866 | va_start(ap, format); |
| 867 | |
| 868 | rc = xmlTextWriterWriteVFormatComment(writer, format, ap); |
| 869 | |
| 870 | va_end(ap); |
| 871 | return rc; |
| 872 | } |
| 873 | |
| 874 | /** |
| 875 | * xmlTextWriterWriteVFormatComment: |
nothing calls this directly
no test coverage detected