In our previous episode, Roland Turcan said:
[ Charset windows-1250 unsupported, converting... ]
> Hello FPC-Pascal users discussions!
>
> I have used this Delphi/Kylix3 this code for flushing of buffers in my
> own stream descendant
>
> {$IFDEF WIN32}
> FlushFileBuffers (Handle);
> {$ELSE}
>
On 30 Apr 2009, at 14:50, Roland Turcan wrote:
How to flush buffers in Mac OS X?
man fsync
Jonas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hello FPC-Pascal users discussions!
I have used this Delphi/Kylix3 this code for flushing of buffers in my
own stream descendant
{$IFDEF WIN32}
FlushFileBuffers (Handle);
{$ELSE}
fdatasync (Handle);
{$ENDIF}
I have found in linux.pp calling of fdatesync, but ...
How to flush buffers in Mac