[LC++]Getting shared memory segments ...

Sandro Santos Andrade sandro.andrade at sixbell.com.br
Tue Jun 3 04:41:02 UTC 2003


    Hi all,

    I need to list in my program all the shared memory segments available on
system, like the
ipcs output. Searching for systems calls I had no success, finding just some
primitives like
ipc() and ipc_get() in the kernel source code. How can I get all the shared
memory segments
without an specific shared memory key ?
    Are there any system call that implement this ? How can I achieve this
results ?

    Thanks in advance,
    Sandro





More information about the tuxCPProgramming mailing list