Lines Matching full:signal
1 /* Extended support for using signal values.
10 it we can't assume that it is declared in <signal.h> (for example,
22 #include <signal.h>
53 /* Translation table for signal values.
56 to initialize signal name and message tables that are indexed by signal
60 thing that should have to be updated as new signal numbers are introduced.
65 const int value; /* The numeric value from <signal.h> */
131 ENTRY(SIGUSR1, "SIGUSR1", "User defined signal 1"),
134 ENTRY(SIGUSR2, "SIGUSR2", "User defined signal 2"),
155 signal only happens when the process has asked for it, not everytime
163 ENTRY(SIGSTOP, "SIGSTOP", "Stopped (signal)"),
202 ENTRY(SIGLWP, "SIGLWP", "Signal LWP"),
226 signal value to find the equivalent symbolic value. */
232 already exist in the host environment. Indexed by the signal value to find
272 indexed at runtime by a specific signal value.
293 signal value, then go find it now. */
350 Returns the maximum signal value for which a corresponding symbolic
356 new signal codes may be added to the system before they are added to
358 the largest signo value defined in @code{<signal.h>}.
385 Maps an signal number to an signal message string, the contents of
390 If the supplied signal number is within the valid range of indices for
392 signal number, then returns the string @samp{Signal @var{num}}, where
393 @var{num} is the signal number.
395 If the supplied signal number is not a valid index into
430 sprintf (buf, "Signal %d", signo);
450 Given an signal number, returns a pointer to a string containing the
451 symbolic name of that signal number, as found in @code{<signal.h>}.
453 If the supplied signal number is within the valid range of indices for
454 symbolic names, but no name is available for the particular signal
455 number, then returns the string @samp{Signal @var{num}}, where
456 @var{num} is the signal number.
458 If the supplied signal number is not within the range of valid
487 sprintf (buf, "Signal %d", signo);
504 Given the symbolic name of a signal, map it to a signal number. If no
544 followed by the description of the signal specified by @var{signo},
562 fprintf (stderr, "%s: unknown signal\n", message);
573 /* A simple little main that does nothing but print all the signal translations