signal_user.h 775 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2001 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __SIGNAL_USER_H__
  6. #define __SIGNAL_USER_H__
  7. extern int signal_stack_size;
  8. extern int change_sig(int signal, int on);
  9. extern void set_sigstack(void *stack, int size);
  10. extern void set_handler(int sig, void (*handler)(int), int flags, ...);
  11. extern int set_signals(int enable);
  12. extern int get_signals(void);
  13. #endif
  14. /*
  15. * Overrides for Emacs so that we follow Linus's tabbing style.
  16. * Emacs will notice this stuff at the end of the file and automatically
  17. * adjust the settings for this buffer only. This must remain at the end
  18. * of the file.
  19. * ---------------------------------------------------------------------------
  20. * Local variables:
  21. * c-file-style: "linux"
  22. * End:
  23. */