Report question

Question: Linux C: upon receiving a signal, is it possible to know the PID of the sender?