signal.c 267 B

1234567891011121314
  1. /*
  2. * Copyright (C) 2006 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  3. * Licensed under the GPL
  4. */
  5. #include <signal.h>
  6. extern void handle_signal(int sig, struct sigcontext *sc);
  7. void hard_handler(int sig)
  8. {
  9. handle_signal(sig, (struct sigcontext *) (&sig + 1));
  10. }