体验新版 GitCode,发现更多精彩内容 >>
/*
* Copyright (C) 2006 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL */ #include <signal.h>
extern void handle_signal(int sig, struct sigcontext *sc);
void hard_handler(int sig) {
handle_signal(sig, (struct sigcontext *) (&sig + 1));
}