R
Robert
Hi,
I'm creating simple logging function in my server application but i've come
to a little problem. I use fopen and fprintf to open and print to that file
and after the application quits fclose ofcourse but the data get's only
written when i use fclose, i need something so it gets written to the file
directly because otherwise the logging won't have much effect because i want
to run the program for long times. Is there any function to flush the buffer
to the file?
Thanks in Advance,
Robert Mens
I'm creating simple logging function in my server application but i've come
to a little problem. I use fopen and fprintf to open and print to that file
and after the application quits fclose ofcourse but the data get's only
written when i use fclose, i need something so it gets written to the file
directly because otherwise the logging won't have much effect because i want
to run the program for long times. Is there any function to flush the buffer
to the file?
Thanks in Advance,
Robert Mens