| signame {fork} | R Documentation |
signame looks up signal information by the symbolic signal name.
sigval looks up signal information by the numeric value.
siglist returns a table of signal information.
signame(val) sigval(name) siglist()
val |
Integer signal value. |
name |
Symbolic signal name (with or without the SIG prefix). |
These functions return information stored in a table constructed at compile time.
A list (signame, sigval) or data frame
(siglist) containing the components:
name |
Symbolic name |
val |
Integer value |
desc |
Description |
Gregory R. Warnes greg@random-technologies-llc.com
Unix "signal" man page.
getpid, exit, wait,
kill, killall
# look up the numeric value for SIGABT:
sigval("SIGKILL")
# the 'SIG' component can be ommitted:
sigval("HUP")
# now look up based on value
signame(9)
# and get a complete table of signal information
siglist()