Thread View: alt.msdos.programmer
1 messages
1 total messages
Started by Bruce W. Mohler
Sun, 19 Nov 1989 21:00
reopening stdin and stdout
Author: Bruce W. Mohler
Date: Sun, 19 Nov 1989 21:00
Date: Sun, 19 Nov 1989 21:00
23 lines
1070 bytes
1070 bytes
Is there anything tricky to *reopening* stdin and stdout (in the MSDOS environment using MS C 5.1)? I've looked all thru the documentation and went thru all of the installation diskettes looking for the source to the code that does the pre-main() initialization, but couldn't find it (to plagerize from). (By the way, I already figured out that stdin is easy (just do a rewind()) I just want to know what devices (filenames) to fopen() and whether there's anything else to be done (re: buffering, etc.). Thanks, in advance! Bruce Mohler -- Bruce W. Mohler Systems Programmer (aka Staff Analyst) bruno@sdcc10.ucsd.edu voice: 619/586-2218
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads