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

2018-04-18 Thread YuGiOhJCJ Mailing-List via xml
Thanks, indeed the 'xmlSaveToFilename' function is what I was looking for. Here is the code: --- #include /* for xmlSaveToFilename */ #include /* for printf */ #include /* for strlen */ int main() { const char *str = "http://www.w3.org/1999/xhtml\";>\n\ntest\n\n\ntest\n\n\n"; xm

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

2018-04-18 Thread YuGiOhJCJ Mailing-List via xml
Just to clarify the reason why I am using buffered IO only, I am currently coding a dynamic website that is written in the C language. After compiling the C code, I upload the program to a web server (Apache). On the web browser, when I try to access to the website, there is an error: Internal Se