On Tue, 9 Jul 2013 18:12:38 -0500, Paul Gilmartin <[email protected]> wrote:

>My test program, isbuffer.c:
> ...
>in which they were executed.  However, when I compile in Enhanced
>ASCII mode and link with xplink, I get:

Could that be due to optimisation of the code? I know that the code optimiser 
sometimes does strange things and there are remarks to that end in the compiler 
documentation. (And let it be clear: I can live with that, as it drives down 
CPU usage by 25% or more, easily!)

I have taken the habit of always use fflush if I need to be sure the buffer has 
to be flushed at any given point in the program. It makes things explicit.

Cheers,

Jantje.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to