Re: [fpc-pascal] How to add new function related to MAC OS X

2009-05-23 Thread Jonas Maebe
On 23 May 2009, at 11:58, Jonas Maebe wrote: The only thing that can be added is the F_FULLSYNC constant to some Darwin-specific include file. Done in svn, along with a bunch of other Darwin-specific fcnlt constants, but note that it's F_FULLFSYNC, not F_FULLSYNC. Also keep in mind that

Re: [fpc-pascal] How to add new function related to MAC OS X

2009-05-23 Thread Jonas Maebe
On 22 May 2009, at 12:36, Roland Turcan wrote: I want to add new function for Mac OS X which calls FCNTL with F_FULLSYNC to the existing source tree, but I am really confused from the files to be changed/added. Such a function will never be added to the rtl. The fcntl function is already th

Re: [fpc-pascal] How to add new function related to MAC OS X

2009-05-22 Thread Jonas Maebe
On 22 May 2009, at 13:45, Marco van de Voort wrote: The Mac OS X maintainer only supports the libc interface, It is Apple that only supports the libc interface (and yes, you probably expected this reaction). There is no syscall interface for direct use by applications on Mac OS X (well, n

Re: [fpc-pascal] How to add new function related to MAC OS X

2009-05-22 Thread Marco van de Voort
In our previous episode, Roland Turcan said: > I want to add new function for Mac OS X which calls FCNTL with > F_FULLSYNC to the existing source tree, but I am really confused from > the files to be changed/added. I see that there are many include files which > declare functions for Mac OS X, but

[fpc-pascal] How to add new function related to MAC OS X

2009-05-22 Thread Roland Turcan
Hello fpc-pas...@lists.freepascal.org! 1. I want to add new function for Mac OS X which calls FCNTL with F_FULLSYNC to the existing source tree, but I am really confused from the files to be changed/added. I see that there are many include files which declare functions for Mac OS X, but they come