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 OS X?

Thanks.
-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to