Doesn't work here. I've read it is not guaranteed on all platforms. Am I better off using FILE* if I want unbuffered file output on linux?Code:file.rdbuf()->pubsetbuf(NULL,0);
Doesn't work here. I've read it is not guaranteed on all platforms. Am I better off using FILE* if I want unbuffered file output on linux?Code:file.rdbuf()->pubsetbuf(NULL,0);
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
I would question why you need unbuffered file output when you already have full control with "flush".
gg
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
There's the unitbuf flag - C++ I/O Flags [C++ Reference]
Doing it yourself would better.
gg