- added comment about why stdin/stdout/stderr and cin/cout/cerr synchronization

never worked in BeOS (and why it works now).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2004-11-10 19:36:30 +00:00
parent 9777605673
commit 2468e805d8

View File

@ -69,6 +69,16 @@ typedef struct _IO_FILE __FILE;
#ifdef _STDIO_H
/*
* [zooey]: operations on cin/cout/cerr and stdin/stdout/stderr should support
* being mixed on a character by character basis:
* printf("this is "); cout << "a string" << endl;
* should yield "this is a string" on a single line.
* This never worked on BeOS, as the supposedly unique stream-symbols
* existed in libroot as well as in libstdc++.
* Since we do no longer have this problem, activating
* _STDIO_USES_IOSTREAM does no harm.
*/
#define _STDIO_USES_IOSTREAM
#include <libio.h>