Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
open stdin a second time
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="James Kuyper, post: 4395930"] That depends upon what kind stream stdin is. The message has to be stored somewhere if you're to retrieve it. If stdin is a terminal, for instance, if you don't save the message yourself, then it isn't saved anywhere, and you're out of luck. On the other hand, if stdin is a file, the information is saved - in that file. You can use rewind() to go back to the beginning of the file, or either fseek() or fsetpos() to go back to specific saved positions in the file. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
open stdin a second time
Top