Scripsit illa aut ille obert Klemme•© <bob.news / gmx.net>:
> "Rudolf Polzer" <denshimeiru-sapmctacher / durchnull.de> schrieb:
> > I thought about an external library which is an interface to an
> > existing C library which writes to stderr (file descriptor 2).
> 
> Even then one shouldt ensure that fd 2 is opened to something unless you
> know that the external lib simply doesn't write to stderr if that is
> closed.

write() to a closed FD fails, but most libs ignore the error. If
they don't, however, it needs to be reopened to something like
/dev/null which isn't possible in a platform-independent manner.


-- 
The only thing that Babelfish is good at is proving that Vogons are
great poets.
                                   Josef 'Jupp' Schugt in japan.anime.evangelion