I have read this discussion which discuss about how to check the signal actions of each process: How can I check what signals a process is listening to?
However, I want to use C/C++, Python or other ways to get the userspace of the signal handler name of each process. Just like the psig in Solaris: What is the meaning of every column when executing psig command?
Would it be possible to do that in Linux?
SIG_ERR
. That's not a pretty situation to handle. – Aykhan Hagverdili Sep 12 '22 at 09:23