Re: [fpc-pascal] FlushBuffers of FileStream

2009-04-30 Thread Marco van de Voort
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} >

Re: [fpc-pascal] FlushBuffers of FileStream

2009-04-30 Thread Jonas Maebe
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

[fpc-pascal] FlushBuffers of FileStream

2009-04-30 Thread Roland Turcan
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