Subject: Re: Warning message: Why do I care?
To: Steven M. Bellovin <>
From: Roland Dowdeswell <>
List: current-users
Date: 08/01/2002 14:15:37
On 1028224954 seconds since the Beginning of the UNIX epoch
"Steven M. Bellovin" wrote:
>In message <>, writes:

>>  close(1);
>>  fd = open("somefile", O_WRONLY);
>You could use dup2().  But I suspect there's a lot of code around that 
>does it your way.

The problem is that the relevant standards dictate that method does
work in that way, and so programs that rely on that behaviour are
not doing anything wrong.

    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/