---
title: "signal(i, SIG_DFL); /* crunch, crunch, crunch */ — Larry Wall Quote #260 | QuotesBy.net"
description: "signal(i, SIG_DFL); /* crunch, crunch, crunch */ — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # signal(i, SIG\_DFL); /\* crunch, crunch, crunch \*/

[Larry Wall](https://quotesby.net/Larry-Wall)\#260

[Humor](https://quotesby.net/Larry-Wall/humor/)[Process](https://quotesby.net/Larry-Wall/process/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9Csignal%28i%2C%20SIG_DFL%29%3B%20%2F%2A%20crunch%2C%20crunch%2C%20crunch%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F260%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9Csignal%28i%2C%20SIG_DFL%29%3B%20%2F%2A%20crunch%2C%20crunch%2C%20crunch%20%2A%2F%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F260%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F260%2F)

## About this quote

What does it mean?The code sets a signal handler to default and comments with a humorous 'crunch, crunch, crunch' indicating processing.In plain termsReset signal handling to default with a light comment.What can you take from it?Restore default signal behavior when needed.

### Where it applies

- when cleaning up signal overrides
- during program termination

### Putting it to work

- call SIG\_DFL
- document signal usage

### Questions to consider

- When should you reset signals to default?
- What are the risks of leaving custom handlers?

### Another view

The comment adds no technical value.

## More from Larry Wall

1. > /\* we have tried to make this normal case as abnormal as possible \*/

[Permalink to quote \#258](https://quotesby.net/Larry-Wall/258/ "Permalink to quote 258")
2. > Your csh still thinks true is false. Write to your vendor today and tell them that next year Configure ought to 'rm /bin/csh' unless they fix their blasted she…

[Permalink to quote \#257](https://quotesby.net/Larry-Wall/257/ "Permalink to quote 257")
3. > You can't have filenames longer than 14 chars. You can't even think about them!

[Permalink to quote \#256](https://quotesby.net/Larry-Wall/256/ "Permalink to quote 256")

## Related quotes

1. > But, as it is, this pied collection begs your indulgence - it's been spun from threads both sad and humoristic, themes popular or idealistic, products of caref…

[Aleksandr Pushkin](https://quotesby.net/Aleksandr-Pushkin)[Aleksandr Pushkin quote \#6](https://quotesby.net/Aleksandr-Pushkin/6/ "Permalink to quote 6")
2. > Getting out of the hospital is a lot like resigning from a book club. You're not out of it until the computer says you're out of it.

[Erma Bombeck](https://quotesby.net/Erma-Bombeck)[Erma Bombeck quote \#10](https://quotesby.net/Erma-Bombeck/10/ "Permalink to quote 10")
3. > I sense that novel of my dreams is in the Remington SL3 - although it writes much faster than I can spell.

[Tom Robbins](https://quotesby.net/Tom-Robbins)[Tom Robbins quote \#16](https://quotesby.net/Tom-Robbins/16/ "Permalink to quote 16")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "signal(i, SIG_DFL); /* crunch, crunch, crunch */",
    "url": "https://quotesby.net/Larry-Wall/260/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #260",
            "item": "https://quotesby.net/Larry-Wall/260/"
        }
    ]
}
```
