/arch/um/include/signal_user.h

https://bitbucket.org/evzijst/gittest · C Header · 28 lines · 9 code · 5 blank · 14 comment · 0 complexity · 17e183d643e510d5923f88924523a958 MD5 · raw file

  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. */