home *** CD-ROM | disk | FTP | other *** search
- #ifdef notdef
-
- /*
- * pstream.c:
- *
- * Beginnings of rudimentary I/O code
- *
- */
-
- #include <stream.h>
- #include "pstream.h"
-
-
- PSTREAM_SHARED char pcout_buf[BUFSIZE];
- PSTREAM_SHARED filebuf pcout_file(stdout); // UNIX output stream 1
- PSTREAM_SHARED ostream pcout(&pcout_file);
-
- PSTREAM_SHARED char pcerr_buf[1];
- PSTREAM_SHARED filebuf pcerr_file(stderr); // UNIX output stream 2
- PSTREAM_SHARED ostream pcerr(&pcerr_file);
-
-
-
- PSTREAM_SHARED filebuf pcin_file(stdin); // UNIX input stream 0
- PSTREAM_SHARED istream pcin(&pcin_file,1,&pcout); // cin tied to cout
-
-
- void
- usepstream()
- {
- return;
- }
- #endif
-