...
Sounds like a shortcoming in the input and output streams that you
cannot tell these things or reopen them perhaps
Here I thought there was a bug related to closing a stream that might
cause problems
It's a practical deficiency in using them
...
Perhaps, but its built very deeply into the concept of a stream.
Consider these uses of streams:
- terminal input
- terminal output
- serial input/output (e.g., modem data)
- piped data from program to program
- random numbers
The stream concept unifies all of those. Yet, for none of them is it
reasonable to do a tell(), seek(), or rewind(). You could say "but
_I_ know that doing so is reasonable for _this_ use of a stream."
True, but in that case you can use ioctl. Or, you could open it as a
file in the first place. The whole point of the stream concept is
that you _don't_ know and don't care how the data gets there.
Craig
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>