| Line 46... |
Line 46... |
| 46 |
supported (of those listed, only \code{SIGINT} and \code{SIGTERM}).
|
46 |
supported (of those listed, only \code{SIGINT} and \code{SIGTERM}).
|
| 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
|
| - |
|
52 |
\abbr{pid}s.
|
| 52 |
|
53 |
|
| 53 |
In normal use on a Unix-alike, \kbd{Ctrl-C} sends \code{SIGINT},
|
54 |
In normal use on a Unix-alike, \kbd{Ctrl-C} sends \code{SIGINT},
|
| 54 |
\kbd{Ctrl-\\} sends \code{SIGQUIT} and \kbd{Ctrl-Z} sends
|
55 |
\kbd{Ctrl-\\} sends \code{SIGQUIT} and \kbd{Ctrl-Z} sends
|
| 55 |
\code{SIGTSTP}: that and \code{SIGSTOP} suspend a process which can be
|
56 |
\code{SIGTSTP}: that and \code{SIGSTOP} suspend a process which can be
|
| 56 |
resumed by \code{SIGCONT}.
|
57 |
resumed by \code{SIGCONT}.
|