signal method

Pointer<NativeFunction<Void Function(Int)>> signal(
  1. int arg0,
  2. Pointer<NativeFunction<Void Function(Int)>> arg1
)

For historical reasons; programs expect signal's return value to be defined by <sys/signal.h>.

Implementation

ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Int)>> signal(
  int arg0,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Int)>> arg1,
) {
  return _signal(
    arg0,
    arg1,
  );
}