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