const sighup
XuAPI
pub const sighup = 1Purpose
`os/signal` numbers (Unix). Notify is not hooked to the kernel Value `1`.
Parameters
none
API
#os/signalUnix signal numbers. notify is not hooked to the kernel and throws so signals are not silently dropped.
const sighuppub const sighup = 1`os/signal` numbers (Unix). Notify is not hooked to the kernel Value `1`.
none
const interruptpub const interrupt = 2Public constant `interrupt`. Value `2`.
none
const sigintpub const sigint = 2Public constant `sigint`. Value `2`.
none
const sigquitpub const sigquit = 3Public constant `sigquit`. Value `3`.
none
const killpub const kill = 9Public constant `kill`. Value `9`.
none
const sigkillpub const sigkill = 9Public constant `sigkill`. Value `9`.
none
const sigpipepub const sigpipe = 13Public constant `sigpipe`. Value `13`.
none
const sigtermpub const sigterm = 15Public constant `sigterm`. Value `15`.
none
notifypub fn notify(c chan int, sig int) intnotify; returns int. Throws on failure.
c chan intsig intint — a value of this type
stoppub fn stop(c chan int) intstop; returns int. Throws on failure.
c chan intint — a value of this type
ignorepub fn ignore(sig int) intignore; returns int. Throws on failure.
sig intint — a value of this type