Subject: Re: Possible changes to POSIX abort()
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 07/13/2002 21:09:36
On Sat, Jul 13, 2002 at 07:48:34PM +0100, Ben Harris wrote:
> On 12 Jul 2002 cgd@broadcom.com wrote:
>
> > At Fri, 12 Jul 2002 11:55:32 +0000 (UTC), "Ben Harris" wrote:
> > > This is likely to change such that abort():
> > > + May be called without restriction from a signal handler, and
> > > - Need not fclose() open stdio streams.
> > >
> > > Would this change actually inconvenience anyone in the real world? Is
> > > that inconvenience worth it?
> >
> > Would this result in needing to explicitly flush said streams before
> > calling abort(), if they used buffering?
>
> Yes (assuming the application still cares about the buffered data).
Except that IIRC you can't call fflush() from a signal handler?
David
--
David Laight: david@l8s.co.uk