On Fri, Aug 28, 2015 at 1:48 AM, Garrett Cooper <yaneurab...@gmail.com>
wrote:

>
> Libxo (iirc) doesn't install atexit handlers, which means that you need to
> use exit (or a reason facsimile) in order for it to flush its file streams.
>
> This is unintuitive though. I wish it did the right thing as part of
> initializing the streams..
>

Ummm, stdio streams are flushed if you return from main() too. If it has
internal buffered data it
hasn't delivered to stdio yet and hasn't installed atexit handlers, how on
earth can it flush anything
when you call exit().

Warner
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to