public sigaction(int sa_flags, sa_sigaction sa_sigaction) { super(); sigemptyset(sa_mask.getPointer()); this.sa_flags = sa_flags | SA_SIGINFO; this.__sigaction_handler.sa_sigaction = sa_sigaction; this.__sigaction_handler.setType(sa_sigaction.class); }
public sigaction(int sa_flags, sighandler_t sa_handler) { super(); sigemptyset(sa_mask.getPointer()); this.sa_flags = sa_flags; this.__sigaction_handler.sa_handler = sa_handler; this.__sigaction_handler.setType(sighandler_t.class); }