I want to get the process ID of the process which sends a signal to my process. I used sigaction, but inside the signal handler, I got only the signal name. I also printed the @_ with Dumper inside the signal handler. It contains only the Signal name.
So please tell me a way, how to get the process ID of a process which sends the signal?
In reply to sigaction handler by lakshmananindia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |