Signal handling. More...
#include "config.h"#include <errno.h>#include <signal.h>#include <stdbool.h>#include <stddef.h>#include "mutt/lib.h"#include "config/lib.h"#include "core/lib.h"#include "gui/lib.h"#include "attach/lib.h"#include "protos.h"
Include dependency graph for mutt_signal.c:Go to the source code of this file.
Functions | |
| static void | curses_signal_handler (int sig) |
| Catch signals and relay the info to the main program - Implements sig_handler_t -. | |
| static void | curses_exit_handler (int sig) |
| Notify the user and shutdown gracefully - Implements sig_handler_t -. | |
| static void | curses_segv_handler (int sig) |
| Catch a segfault and print a backtrace - Implements sig_handler_t -. | |
| void | mutt_signal_init (void) |
| Initialise the signal handling. | |
Variables | |
| static int | IsEndwin = 0 |
| Ncurses function isendwin() has been called. | |
Signal handling.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file mutt_signal.c.
| void mutt_signal_init | ( | void | ) |
Initialise the signal handling.
Definition at line 135 of file mutt_signal.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Ncurses function isendwin() has been called.
Definition at line 45 of file mutt_signal.c.