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
  • 98,580
  • 191
  • 570
  • 977
  • Tim, really? After 7 years you multi-post a question? https://stackoverflow.com/revisions/50626793/1 – Jeff Schaller Jun 16 '18 at 12:17
  • I'm just surprised that you're not aware of the U&L -- sorry, Stack Exchange -- [policy against multi-posting](https://unix.stackexchange.com/help/on-topic) and didn't delete the SO (eventually SU) question before posting here. – Jeff Schaller Jun 16 '18 at 12:30
  • If you don’t agree with a site’s policies, take it up on Meta or don’t use the site. That policy has existed for at least the 3 years I’ve been here. – Jeff Schaller Jun 16 '18 at 12:39

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
  • 18,806
  • 5
  • 38
  • 60
  • 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