[fpc-pascal] Unbuffering I/O

wkitty42 at windstream.net wkitty42 at windstream.net
Thu Aug 30 02:59:51 CEST 2018


On 08/29/2018 11:01 AM, Mark Morgan Lloyd wrote:
> Is there an equivalent for Pascal, or should I be using something like 
> fpSync(stdout) at opportune times?

flush();


i use it all the time on my programs that write to the logs... i hate having a 
crash and be missing some log output because it was buffered and lost with the 
crash... flush() everything...



-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*



More information about the fpc-pascal mailing list