1

shm_unlink says "no such file or directory"

view story
linux-howto

http://stackoverflow.com – I am trying to use shm_unlink(object_path) to clear up the shared memory I opened in signal handling function. However, the code doesn't work. What goes wrong? The code basically does this: A parent process is taking two integers from user input, and fork a child to compute the sum of the two. Once the sum is computed, the child informs the parent that it's done computing sum through a pipe. When receiving a SIGINT signal, the child should not terminate by itself, it should let the parent process handle the signal where the parent then send a SIGKILL signal to terminate the child process. Tha (HowTos)