On Tue, Sep 1, 2015 at 12:34 AM, John McKown <john.archie.mck...@gmail.com> wrote:
> Not a bug, so likely the wrong forum. > > Have you tried doing a fflush() after the fputs()? I.e. something to tell > the Kernel to "write this out immediately!". In the case of write(), I > think you need to use the O_SYNC flag in the open() call. > > Tried sync() and fflush() to no avail. Will try O_SYNC and I will grep for that in the Bash source files. Might just trip over what I need there. Thanks.