signal function
signal(2): handler called on number from now on; the one before it,
or SIG_ERR. A leaf call, like read. Only for a signal Dart can't watch:
it replaces what ProcessSignal.watch set. The handler runs outside Dart,
so it is a native function. The process's terminal holds SIGTSTP while
raw (PosixTty).
Implementation
@Native<Pointer<Void> Function(Int, Pointer<Void>)>(isLeaf: true)
external Pointer<Void> signal(int number, Pointer<Void> handler);