diff options
Diffstat (limited to 'internal/signal.h')
| -rw-r--r-- | internal/signal.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/internal/signal.h b/internal/signal.h new file mode 100644 index 0000000000..904747e226 --- /dev/null +++ b/internal/signal.h @@ -0,0 +1,25 @@ +#ifndef INTERNAL_SIGNAL_H /*-*-C-*-vi:se ft=c:*/ +#define INTERNAL_SIGNAL_H +/** + * @author Ruby developers <ruby-core@ruby-lang.org> + * @copyright This file is a part of the programming language Ruby. + * Permission is hereby granted, to either redistribute and/or + * modify this file, provided that the conditions mentioned in the + * file COPYING are met. Consult the file for details. + * @brief Internal header for SignalException. + */ + +/* signal.c */ +extern int ruby_enable_coredump; +int rb_get_next_signal(void); + +#ifdef POSIX_SIGNAL +void (*ruby_posix_signal(int, void (*)(int)))(int); +#endif + +RUBY_SYMBOL_EXPORT_BEGIN +/* signal.c (export) */ +void rb_signal_atfork(void); +RUBY_SYMBOL_EXPORT_END + +#endif /* INTERNAL_SIGNAL_H */ |
