| Line 47... |
Line 47... |
| 47 |
They are much more widely used on POSIX operating systems (which
|
47 |
They are much more widely used on POSIX operating systems (which
|
| 48 |
should define all of those listed here), which also support a
|
48 |
should define all of those listed here), which also support a
|
| 49 |
\code{kill} system call to send a signal to a process, most often to
|
49 |
\code{kill} system call to send a signal to a process, most often to
|
| 50 |
terminate it. Function \code{pskill} provides a wrapper: it silently
|
50 |
terminate it. Function \code{pskill} provides a wrapper: it silently
|
| 51 |
ignores invalid values of its arguments, including zero or negative pids.
|
51 |
ignores invalid values of its arguments, including zero or negative pids.
|
| 52 |
|
52 |
|
| 53 |
In normal use on a Unix-alike, \kbd{Ctrl-C} sends \code{SIGINT},
|
53 |
In normal use on a Unix-alike, \kbd{Ctrl-C} sends \code{SIGINT},
|
| 54 |
\kbd{Ctrl-\\} sends \code{SIGQUIT} and \kbd{Ctrl-Z} sends
|
54 |
\kbd{Ctrl-\\} sends \code{SIGQUIT} and \kbd{Ctrl-Z} sends
|
| 55 |
\code{SIGTSTP}: that and \code{SIGSTOP} suspend a process which can be
|
55 |
\code{SIGTSTP}: that and \code{SIGSTOP} suspend a process which can be
|
| 56 |
resumed by \code{SIGCONT}.
|
56 |
resumed by \code{SIGCONT}.
|
| 57 |
|
57 |
|
| 58 |
The signals are small integers, but the actual numeric values are not
|
58 |
The signals are small integers, but the actual numeric values are not
|
| 59 |
standardized (and most do differ between OSes). The \code{SIG*}
|
59 |
standardized (and most do differ between OSes). The \code{SIG*}
|
| 60 |
objects contain the appropriate integer values for the current platform
|
60 |
objects contain the appropriate integer values for the current platform
|
| 61 |
(or \code{NA_INTEGER_} if the signal is not defined).
|
61 |
(or \code{NA_INTEGER_} if the signal is not defined).
|
| 62 |
|
62 |
|