"Tobias Pankrath" <[email protected]> writes: > Is it possible to redirect stdout in a way that all following calls to > writeln etc just write to /dev/null or something similar?
If it's any form of unix, all you need to do is close(1). If you still need the fd afterwards, you want to use dup() first so you can restore them (with dup2()) later. -- The volume of a pizza of thickness a and radius z can be described by the following formula: pi zz a
