Lines Matching refs:signum

95 print_table_row (int num_width, int signum,  in print_table_row()  argument
98 char const *description = strsignal (signum); in print_table_row()
99 printf ("%*d %-*s %s\n", num_width, signum, name_width, signame, in print_table_row()
110 int signum; in list_signals() local
120 for (signum = 1; signum <= SIGNUM_BOUND / 10; signum *= 10) in list_signals()
124 for (signum = 1; signum <= SIGNUM_BOUND; signum++) in list_signals()
125 if (sig2str (signum, signame) == 0) in list_signals()
135 signum = operand2sig (*argv, signame); in list_signals()
136 if (signum < 0) in list_signals()
139 print_table_row (num_width, signum, name_width, signame); in list_signals()
142 for (signum = 1; signum <= SIGNUM_BOUND; signum++) in list_signals()
143 if (sig2str (signum, signame) == 0) in list_signals()
144 print_table_row (num_width, signum, name_width, signame); in list_signals()
151 signum = operand2sig (*argv, signame); in list_signals()
152 if (signum < 0) in list_signals()
159 printf ("%d\n", signum); in list_signals()
163 for (signum = 1; signum <= SIGNUM_BOUND; signum++) in list_signals()
164 if (sig2str (signum, signame) == 0) in list_signals()
175 send_signals (int signum, char *const *argv) in send_signals() argument
192 else if (kill (pid, signum) != 0) in send_signals()
209 int signum = -1; in main() local
250 if (0 <= signum) in main()
255 signum = operand2sig (optarg, signame); in main()
256 if (signum < 0) in main()
280 if (signum < 0) in main()
281 signum = SIGTERM; in main()
296 : send_signals (signum, argv + optind)); in main()