diff --git a/process.c b/process.c index 2e1c894eeb..20f2f89de2 100644 --- a/process.c +++ b/process.c @@ -8682,40 +8682,44 @@ get_PROCESS_ID(ID _x, VALUE *_y) * with prefixed '-', * each process group with group ID +id+ is signalled. * - * The signal non-negative integers and strings are: + * The actual signal values are platform dependent, an example of + * signal names which are supported on many platforms are: * - * - +0+ ('SIGEXIT'): Exit the current process. - * - +1+ ('SIGHUP'): Hang up controlling terminal or process. - * - +2+ ('SIGINT'): \Interrupt from keyboard, Ctrl-C. - * - +3+ ('SIGQUIT'): Quit from keyboard, Ctrl-\. - * - +4+ ('SIGILL'): Illegal instruction. - * - +5+ ('SIGTRAP'): Breakpoint for debugging. - * - +6+ ('SIGIOT'): Abnormal termination. - * - +7+ ('SIGBUS'): Bus error. - * - +8+ ('SIGFPE'): Floating-point exception. - * - +9+ ('SIGKILL'): Forced-process termination. - * - +10+ ('SIGUSR1'): Available to processes. - * - +11+ ('SIGSEGV'): Invalid memory reference. - * - +12+ ('SIGUSR2'): Available to processes. - * - +13+ ('SIGPIPE'): Write to pipe with no readers. - * - +14+ ('SIGALRM'): Real-timer clock. - * - +15+ ('SIGTERM'): \Process termination. - * - +17+ ('SIGCHLD'): Child process stopped or terminated - or got a signal if traced. - * - +18+ ('SIGCONT'): Resume execution, if stopped. - * - +19+ ('SIGSTOP'): Stop process execution, Ctrl-Z. - * - +20+ ('SIGTSTP'): Stop process issued from tty. - * - +21+ ('SIGTTIN'): Background process requires input. - * - +22+ ('SIGTTOU'): Background process requires output. - * - +23+ ('SIGURG'): Urgent condition on socket. - * - +24+ ('SIGXCPU'): CPU time limit exceeded. - * - +25+ ('SIGXFSZ'): File size limit exceeded. - * - +26+ ('SIGVTALRM'): Virtual timer clock. - * - +27+ ('SIGPROF'): Profile timer clock. - * - +28+ ('SIGWINCH'): Window resizing. - * - +29+ ('SIGPOLL'): I/O now possible. - * - +30+ ('SIGPWR'): Power supply failure. - * - +31+ ('SIGSYS', 'SIGUNUSED'): Bad system call. + * - +SIGHUP+: Hang up controlling terminal or process. + * - +SIGINT+: \Interrupt from keyboard, Ctrl-C by default in general. + * - +SIGQUIT+: Quit from keyboard, Ctrl-\ by default in general. + * - +SIGILL+: Illegal instruction. + * - +SIGTRAP+: Breakpoint for debugging. + * - +SIGIOT+: Abnormal termination. + * - +SIGBUS+: Bus error. + * - +SIGFPE+: Floating-point exception. + * - +SIGKILL+: Forced-process termination. + * - +SIGUSR1+: Available to processes. + * - +SIGSEGV+: Invalid memory reference. + * - +SIGUSR2+: Available to processes. + * - +SIGPIPE+: Write to pipe with no readers. + * - +SIGALRM+: Real-timer clock. + * - +SIGTERM+: \Process termination. + * - +SIGCHLD+: Child process stopped or terminated or got a signal if traced. + * - +SIGCONT+: Resume execution, if stopped. + * - +SIGSTOP+: Stop process execution, Ctrl-Z by default in general. + * - +SIGTSTP+: Stop process issued from tty. + * - +SIGTTIN+: Background process requires input. + * - +SIGTTOU+: Background process requires output. + * - +SIGURG+: Urgent condition on socket. + * - +SIGXCPU+: CPU time limit exceeded. + * - +SIGXFSZ+: File size limit exceeded. + * - +SIGVTALRM+: Virtual timer clock. + * - +SIGPROF+: Profile timer clock. + * - +SIGWINCH+: Window resizing. + * - +SIGPOLL+: I/O now possible. + * - +SIGPWR+: Power supply failure. + * - +SIGSYS+, +SIGUNUSED+: Bad system call. + * + * Use `Signal.list` to see which signals are supported, and the + * actual values. + * + * Additionally, signal +0+ is useful to determine if the process exists. * * Example: *