[fpc-devel] shm_open / shm_unlink

mariano podesta 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.

fpc 2.0.2
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...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060409/8588709a/attachment.html>

More information about the fpc-devel mailing list