#ctrl-c #sigint #signal #fn-once

ctrlc_fnonce

Wrapper for ctrlc to execute a FnOnce and exit the process upon Ctrl-C

1 unstable release

0.1.0 Jun 23, 2019

#3 in #fn-once

Apache-2.0

6KB

ctrlc_fnonce

Wrapper for ctrlc to execute a FnOnce and exit the process upon Ctrl-C.

Dependencies

~1.5–9MB
~76K SLoC