On Mon, 19 Jun 2017 17:13:00 -0700, retired mainframer wrote:
>
>Probably unrelated to your real question but the format string passed to
>printf should also have a \n after the %s to insure the output is visible.
>
On MacOS, at least, buffers are flushed when the program exits, so the
output will be visible sooner or later.
The programmer can alter this behavior to make it visible instantly with:
setvbuf( stdout, NULL, _IONBF, 0 );
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN