Hello!
I have a program which consists of N processess. One of them (the parent) has created sets of semaphores, shared memory and message queue. How to clean after this program nicely? I know i must write a function to do that and call it whenever a user sends SIGINT or other terminating signal or the process just die. And what are main types of signals that i must capture?
Thank you!