9942 commits 0 issues 0 pull requests 439 contributors 0 branches 0 releases
Additions: 1 Deletions: 1
vlib/os/signal.c.v
1 fn C.signal(signal int, handlercb SignalHandler) voidptr
2
3 [deprecated: 'use os.signal_opt() instead']
4-[deprecated_after: '2021-05-18']
5+[deprecated_after: '2021-06-18']
6 pub fn signal(signum int, handler voidptr) voidptr {
7 return voidptr(signal_opt(Signal(signum), handler) or { C.SIG_ERR })
8 }
9