The following is from the man page of signal
The behavior of signal() varies across UNIX versions, and has also varied historically across different versions of Linux. Avoid its use: use sigac‐ tion(2) instead. See Portability below.
Does that mean that we should always use the sigaction
call instead of using signal
?