I want to write a signal handler to catch SIGSEGV. I protect a block of memory for read or write using
char *buffer; char *p; char a; int pagesize = 4096;
There is a compilation problem using ucontext_t or struct ucontext (present in /usr/include/sys/ucontext.h)
ucontext_t
ucontext
/usr/include/sys/ucontext.h
http://www.mail-archive.com/arch-general@archlinux.org/msg13853.html