1

Do "caught" and "delivered" mean the same for a signal?

In APUE, a signal is called delivered if it is started to be handled.

The book uses "caught" in many places. I haven't found what it means by a signal being caught, compared to "generated", "sent", "pending" and "delivered".

Thanks.

Tim
  • 101,790

1 Answers1

0

A signal that is delivered may cause a core dump, because there is no handler installed.

If you read that a signal gets caught, this means that a signal handler has been installed and this handler is executed.

schily
  • 19,173
  • Thanks. "A signal that is delivered may cause a core dump, because there is no handler installed." When there is no handler, will the default handler be invoked? Does the default handler "cause a core dump"? – Tim May 31 '18 at 16:59
  • https://unix.stackexchange.com/questions/447030/choices-for-dealing-with-a-signal/447032 – Tim May 31 '18 at 17:04
  • man 7 signal should tell you which signals default to core dump. – tk421 May 31 '18 at 17:10
  • On a UNIX system, the information you refer to is available with man signal.h.. – schily May 31 '18 at 17:43