Hello Eugene On 2/22/19 5:26 PM, Eugene Syromyatnikov wrote: > * man2/sigaction.2 (.SS Undocumented): Provide information about relation > between the second argument of sa_handler and uc_mcontext field of the > struct ucontext structure. Patch applied. One question below. > Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx> > --- > man2/sigaction.2 | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/man2/sigaction.2 b/man2/sigaction.2 > index fc44251..56d0678 100644 > --- a/man2/sigaction.2 > +++ b/man2/sigaction.2 > @@ -1009,7 +1009,14 @@ it was also possible to get some additional information, > namely by using a > .I sa_handler > with a second argument of type > -.IR "struct sigcontext". Is the type 'struct sigcontext' or is it rather 'struct sigcontext *'? Thanks, Michael > +.I "struct sigcontext" > +(it is the same structure as the one that is passed in the > +.I uc_mcontext > +field of the > +.I struct ucontext > +structure, pointer to which is passed in the third argument of > +.I sa_sigaction > +handler). > See the relevant Linux kernel sources for details. > This use is obsolete now. > .SH BUGS > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/