Description Usage Arguments Details Value Author(s) References See Also Examples
kill
sends a signal to a process. killall
sends a
signal to all processes fork
ed during the current session.
1 2 |
pid |
Process ID for the target process |
signal |
Signal number to send. Defaults to 9 (SIGKILL) |
The kill
function provides a thin wrapper around the Unix
"kill" system call, which sends a signal to the specified process. The
killall
function sends a signal to all processes which have
been forked
during the current session.
Refer to the local Unix man pages for details.
kill
returns 0 on successful completion, -1 on errors.
killall
does not return a value.
Gregory R. Warnes greg@warnes.net
"kill" and "waitpid" man pages
getpid
, exit
, wait
,
kill
, killall
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.