[fpc-devel] shm_open / shm_unlink
antiriad at gmail.com
Sun Apr 9 23:24:18 CEST 2006
i found that shm_open and shm_unlink in smmaph.inc are mapped as externals
from libc, but they belong to librt.
debian linux 2.6.14-1-k7
i tested with this and worked ok:
rt = 'rt';
function shm_open(__name: pchar; __oflag: longint; __mode: mode_t): longint;
cdecl; external rt name 'shm_open';
function shm_unlink(__name: pchar): longint; cdecl; external rt name
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel