Folks,
I the past I have asked about what should be the value of sa_flags when the
flag SA_RESETHAND is set.
My understanding from the manual page was confirmed that in a signal handler
the value of sa_flags should not have SA_SIGINFO set.
I have also been assured the posix test suite verifies
Don,
I have read all the SEE ALSO sections, and didn't find notice the implications
of all the statements.
In particular Section 2.4.3 Pointer to a function states that siginfo_t
contains at least: si_signo, si_code, si_pid, si_uid, si_addr, si_status, and
si_value.
Since they are individuall
GV, SIGBUS, SIGCHLD, and SIGPOLL.
Jeff Fellin
-Original Message-
From: Robert Elz [mailto:k...@munnari.oz.au]
Sent: Monday, November 14, 2016 16:04
To: FELLIN, JEFF K (JEFF)
Cc: austin-group-l@opengroup.org
Subject: Re: Siginfo_t question:
Date:Mon, 14 Nov 2016 18:31:40 +000
As I read this information from signal.h :
[CX] [[Option Start]] The header shall
define the siginfo_t type as a structure, which shall include at least the
following members: [[Option End]]
[CX][[Option Start]]
int si_signo Signal number.
int si_code Signal code.
[[
I'm trying to verify my understanding of the signal specifications.
On the signal.h man page SA_RESETHAND is defined as:
Causes signal dispositions to be set to SIG_DFL on entry to signal handlers
On the sigaction() man page action of SA_RESETHAND is defined:
If set, the disposition of the signal