Hello lazarus project!

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.

When my application crashes all files modified over TFileStream are
broken.

How to force flushing file stream?

Thanks.

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


_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to