Ruby: internal/signal.h Source File

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

signal.h
1#ifndef INTERNAL_SIGNAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_SIGNAL_H
11
12/* signal.c */
13extern int ruby_enable_coredump;
14int rb_get_next_signal(void);
15
16#ifdef POSIX_SIGNAL
17void (*ruby_posix_signal(int, void (*)(int)))(int);
18#endif
19
20RUBY_SYMBOL_EXPORT_BEGIN
21/* signal.c (export) */
22void rb_signal_atfork(void);
23RUBY_SYMBOL_EXPORT_END
24
25#endif /* INTERNAL_SIGNAL_H */