GitXplorerGitXplorer
r

signals

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
78d85d043d06861e2496f3c7e17744fc7ef6cdc4

Create README.md

rrichardlau committed 4 years ago
Unverified
cab7373e6bdf0650c7087153d5fb183ecdfe5cf1

initial commit

rrichardlau committed 4 years ago

README

The README file for this repository.

SA_RESETHANDLER test

Build

$ make

Run

On AIX it looks like the signal handler doesn't get the expected signal in the second argument (siginfo_t*) if the signal handler is installed with SA_RESETHANDLER.

$ ./signals
raise SIGUSR1 signal
signo 30 si_signo 0 si_code 0
$

Expected behaviour

Expect the si_signo field of the second argument to be equal to the first argument.

IBM i

$ ./signals
raise SIGUSR1 signal
signo 30 si_signo 30 si_code 0
$

Linux

$ ./signals
raise SIGUSR1 signal
signo 10 si_signo 10 si_code 0
$

z/OS

>./signals
raise SIGUSR1 signal
signo 16 si_signo 16 si_code 0
>