From a shell, you can use ipcrm if you are sufficiently privileged. Also, ipcs can be used to view the state of IPC entities. Programmatically, I think you can acquire the information provided by ipcs from the /proc/sysvipc filesystem, and from there, with sufficient privilege, you can use shmctl() and friends.
--- rod.
|