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

Roland Turcan konf at rotursoft.sk
Fri May 22 12:36:10 CEST 2009


Hello fpc-pascal at 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 from *BSD directories. I
know, that it is because of compatibility with *BSD, but the interface
comes from BSD dir and implementation from FreeBSD dir.

How is it with directory tree among plaftforms?


2.

I want to use SysCall unit which is located in /rtl/unix, but it
cannot find it. When I use Unix unit I have not problem. But they are
in the same directory?!

Thanks in advance for any reply.

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




More information about the fpc-pascal mailing list