Re: Re[2]: [fpc-pascal] Calling DO_SYSCALL on Mac OS X

2009-05-20 Thread Jonas Maebe
On 20 May 2009, at 16:15, Roland Turcan wrote: I just didn't find relation of fpfsync function to mac os x implementation. rtl/unix/unxdeclh.inc: Function fpfsync (fd : cint) : cint; cdecl; external clib name 'fsync'; JM> uses JM>unix; JM> ... JM>fpfsync(handle). I have the same a

Re[2]: [fpc-pascal] Calling DO_SYSCALL on Mac OS X

2009-05-20 Thread Roland Turcan
<<< 20.5.2009 15:54 - Jonas Maebe "jonas.ma...@elis.ugent.be" >>> JM> 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_SYSCAL

Re: [fpc-pascal] Calling DO_SYSCALL on Mac OS X

2009-05-20 Thread Jonas Maebe
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?

[fpc-pascal] Calling DO_SYSCALL on Mac OS X

2009-05-20 Thread Roland Turcan
Hello FPC-Pascal users discussions! 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 TFileSt