sigaction function

  1. @Native<Int Function(Int, Pointer<Void>, Pointer<Void>)>(Int, Pointer<Void>, Pointer<Void>)>(isLeaf: true)
int sigaction(
  1. int number,
  2. Pointer<Void> action,
  3. Pointer<Void> old
)

sigaction(2): number's disposition set from action unless that is nullptr, and the one before it put in old unless that is; 0, or -1. A leaf call, like read. The structs are the caller's to lay out.

Implementation

@Native<Int Function(Int, Pointer<Void>, Pointer<Void>)>(isLeaf: true)
external int sigaction(int number, Pointer<Void> action, Pointer<Void> old);