[fpc-pascal] re-opening stdout and sdterr

Marc Santhoff M.Santhoff at t-online.de
Thu Nov 13 20:37:27 CET 2008

Am Donnerstag, den 13.11.2008, 01:42 +0100 schrieb Marc Santhoff:
> Hi,
> long time ago I had problems with stdxxx being in non-blocking i/o mode.
> The suggestion was to close and re-open the channels from the system
> units init code.
> I ran into this problem again and would like to know:
> How can I close and reopen stderr and sdtout from my program?
> I want to have some code that is working for sure, regardless of which
> os and compilerversion is used to translate it.

Don't get me wrong because I formulated somewhat misleading: I'm not
asking anyone to write code.

What I need is the knowledge how to access and maybe switch the mode of
the system i/o channels.


More information about the fpc-pascal mailing list