Re: DSM- SIGSEGV signal read or write?

From: mandark_br (mandark_at_rockpesado.com.br)
Date: 06/16/04


Date: 16 Jun 2004 11:25:21 -0700

Kasper Dupont <kasperd@daimi.au.dk> wrote in message news:<40AFD7AE.19B599A7@daimi.au.dk>...
> Daniel Kawer wrote:
> >
> > void PageHandler(int signum, struct sigcontext_struct scs )
>
> According to the sigaction man page the second argument
> is both undocumented and obsolete. You should use the
> SA_SIGINFO flag instead. In which case the handler must
> take three arguments (int, siginfo_t *, void *);

How to know if the fault access is read or write access using siginfo_t
 
I read tons of documentation and none of them speak about that.
 
My computer is x86.
 
Thank you.
 
Thiago Santos - Divinópolis - Brazil