On 06 Jan 2010, at 11:54, Marco van de Voort wrote:
I saw some hints on the web that OS X doesn't support it (but it
should be
checked against 10.3/10.4+ since afaik those implement a lot more
calls due
to synchronization with FreeBSD5)
$ gcc -o mlockall mlockall.c
$ ./mlockall
mlockall:1: Function not implemented
munlockall:1: Function not implemented
mlockall:2: Function not implemented
mlockall:3: Function not implemented
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.5.8
BuildVersion: 9L31a
(that's the mlockall test program from
http://www.oit.uci.edu/dcslib/digital_unix/digital-v40d/APS33DTE/DOCU_005.HTM)
Then solaris and Haiku as the other unices must be checked.
Solaris at least has man pages for those functions. The test program
fails there too, but that's probably simply because I'm not root (the
man page says that root permissions are required).
Jonas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel