reopening stdin and stdout
Bruce W. Mohler
bruno at sdcc10.ucsd.edu
Mon Nov 20 08:00:42 AEST 1989
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 at sdcc10.ucsd.edu
voice: 619/586-2218
More information about the Comp.lang.c
mailing list