Re: [Interest] Behavior of write() to stdErr in Qt Creator

2023-04-28 Thread Thiago Macieira
On Friday, 28 April 2023 01:31:39 PDT Bernhard Lindner wrote: > Please note that lines are not interleaved. Still a line feed is added after > each write() call when executing the code snippet from a sub thread. > > The effect is completely reproducible when starting the debug build from Qt >

[Interest] Behavior of write() to stdErr in Qt Creator

2023-04-28 Thread Bernhard Lindner
Hi all! In a Qt/C++ application I need to use write() to print some text to stderr. I'm doing something like this multiple times: write(stdErrDescriptor, "H", 1); write(stdErrDescriptor, "e", 1); write(stdErrDescriptor, "l", 1); write(stdErrDescriptor, "l", 1); write(stdErrDescriptor,