vectab.c 348 B

12345678910
  1. /* When the signal call is made, a pointer to the function to be called
  2. * is stored in this table. When the interrupt comes in from the kernel,
  3. * the function is called within the user address space using _vectab[].
  4. */
  5. #include <lib.h>
  6. #include <signal.h>
  7. /* array of functions to catch signals */
  8. _PROTOTYPE( void (*_vectab[_NSIG]), (int));