# SIG_ERR

> C++ Atlas: `cppatlas.com/w/cpp/utility/program/SIG_ERR` | Source: https://en.cppreference.com/w/cpp/utility/program/SIG_ERR | Domain: Utility

A value of type void (*)(int). When returned by std::signal, indicates that an error has occurred.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <csignal>
#define SIG_ERR /* implementation defined */
```

A value of type `void (*)(int)`. When returned by `std::signal`, indicates that an error has occurred.

### See also

- [`signal`](https://en.cppreference.com/w/cpp/utility/program/signal): sets a signal handler for particular signal (function)
- [C documentation for `SIG_ERR`](https://en.cppreference.com/w/c/program/SIG_ERR)

---
Attribution: content from https://en.cppreference.com/w/cpp/utility/program/SIG_ERR (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.