On Wed, 17 Feb 1999, David Rysdam wrote:

# The second way is to close file descriptor 2, and re-open another
# file/device with that number within your program.

will C let you do that? cos what'd happen if you closed stdout and
forgot to re-open one and then did a printf(). And you can't open random
file descriptors (although if you just closed fd 2 a call to open() should
use that...)

-- 
+++           Beware of programmers who carry screwdrivers           +++
[EMAIL PROTECTED]     http://www.users.globalnet.co.uk/~kermit

Reply via email to