[fpc-pascal] re-opening stdout and sdterr

Marc Santhoff M.Santhoff at t-online.de
Thu Nov 13 01:42:10 CET 2008


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.

TIA,
Marc





More information about the fpc-pascal mailing list