It appears that POSIX defines two different optional IPC APIs that provide shared memory: the XSI extension (shmget, shmctl, shmdt) and the Realtime option group (shm_open, shm_unlink). The documentation on opengroup for shmget says, in the Application Usage section, that if I write sofware that uses the XSI routines, it should be easily modified to use the routines in the Realtime extension.
Does this mean that the routines in the Realtime extension should be preferred, if available?
Is one set intended to eventually replace the other?
Which set is more 'future-proof'?
Regards, David