I\'m working on a program which uses shared memory. Multiple instances of said program will either connect to an existing one or create it anew, and give it back to OS when
No, SIGKILL cannot be caught in any way by your application - if it could, the application could ignore it, which would defeat its purpose.