stdout and stderr are getting mixed up?
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Jun 22 05:54:55 UTC 2017
On 22/06/17 07:48, Sebastian Huber wrote:
>>
>> The link I posted would suggest otherwise.
>
> It doesn't cite the POSIX standard. I don't know where this atomic
> printf() behaviour is defined.
The Newlib _vfprintf_r() implementation locks the file stream, so it
does ensure this atomicity.
We have thread-local stdio streams in Newlib.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list