/* * Copyright (C) 2006 Jeff Dike (jdike@addtoit.com) * Licensed under the GPL */#include<signal.h>externvoid(*handlers[])(intsig,structsigcontext*sc);voidhard_handler(intsig){structsigcontext*sc=(structsigcontext*)(&sig+1);(*handlers[sig])(sig,sc);}