On 20 May 2009, at 15:40, Roland Turcan wrote:
I need to flush buffers from TFileStream which I should use function "fpfsync (Handle)", but as far as I found, there is no implementation of DO_SYSCALL for mac. DO_SYSCALL is implemented only for BSD.
Why do you think that you need DO_SYSCALL?
When my application crashes all files modified over TFileStream are broken. How to force flushing file stream?
uses unix; ... fpfsync(handle). Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal