#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <glib.h>
#include "utils/utils.h"
#include "sed_signal.h"
Go to the source code of this file.
Functions | |
G_GNUC_INTERNAL void | _print_choices (int sig_num) |
int | sed_signal_set_action (void) |
gboolean | sed_signal_is_pending (Sed_sig_num sig) |
void | sed_signal_reset (Sed_sig_num sig) |
void | sed_signal_set (Sed_sig_num sig) |
G_GNUC_INTERNAL void | clear_to_eol (FILE *fp) |
void _print_choices | ( | int | sig_num | ) |
Definition at line 117 of file sed_signal.c.
References clear_to_eol(), eh_exit(), SED_SIG_CONT, SED_SIG_DUMP, SED_SIG_EXIT, SED_SIG_NEXT, SED_SIG_QUIT, sed_signal_is_pending(), and sed_signal_set().
Referenced by sed_signal_set_action().
G_GNUC_INTERNAL void clear_to_eol | ( | FILE * | fp | ) |
gboolean sed_signal_is_pending | ( | Sed_sig_num | sig | ) |
Definition at line 37 of file sed_signal.c.
References SED_SIG_CPR, SED_SIG_DUMP, SED_SIG_EXIT, SED_SIG_NEXT, SED_SIG_QUIT, and SED_SIG_USER.
Referenced by _print_choices(), sed_epoch_queue_run(), and sed_process_queue_run_until().
void sed_signal_reset | ( | Sed_sig_num | sig | ) |
Definition at line 52 of file sed_signal.c.
References SED_SIG_CPR, SED_SIG_DUMP, SED_SIG_EXIT, SED_SIG_NEXT, SED_SIG_QUIT, and SED_SIG_USER.
Referenced by sed_process_queue_run_until().
void sed_signal_set | ( | Sed_sig_num | sig | ) |
Definition at line 65 of file sed_signal.c.
References SED_SIG_CPR, SED_SIG_DUMP, SED_SIG_EXIT, SED_SIG_NEXT, SED_SIG_QUIT, and SED_SIG_USER.
Referenced by _print_choices().
int sed_signal_set_action | ( | void | ) |
Definition at line 11 of file sed_signal.c.
References _print_choices().
Referenced by main(), and sedflux_setup().