Date: Sat, 26 Oct 1996 13:56:15 +1000 From: Bruce Evans <bde@zeta.org.au> To: alex@freefall.freebsd.org, cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/stdlib abort.c Message-ID: <199610260356.NAA11678@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
> Modified: lib/libc/stdlib abort.c > Log: > POSIX requires stdio buffers be flushed on abort. Actually, it requires abort() to "have the effect of fclose() on every open stream" if abort() causes process termination, and no other effect on streams otherwise. It's not clear that flushing has the same effect in all cases. I think it does (a little later when the process exits in the process termination case). This depends on application-supplied read and write functions (if any) not doing anything extra in close() or write(). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610260356.NAA11678>