Re: [xml] xmlSaveToFd: unexpected behavior while redirecting the 'stdout' stream to a file

2018-04-04 Thread YuGiOhJCJ Mailing-List via xml
Thanks for the explanation. In order to use buffered IO only, I am now using the 'xmlSaveFile' function (instead of 'xmlSaveToFd'): --- #include /* for xmlSaveFile */ #include /* for printf */ #include /* for strlen */ int main() { const char *str = "http://www.w3.org/1999/xhtml\";>\n\

Re: [xml] xmlSaveToFd: unexpected behavior while redirecting the 'stdout' stream to a file

2018-04-04 Thread Nick Wellnhofer
On 04/04/2018 13:28, YuGiOhJCJ Mailing-List wrote: In order to use buffered IO only, I am now using the 'xmlSaveFile' function (instead of 'xmlSaveToFd'): However, with this solution, I loose the 'options' parameter that was available with the 'xmlSaveToFd' function. Is there a similar solut