Ruby: include/ruby/internal/intern/signal.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

signal.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_SIGNAL_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_SIGNAL_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28/* signal.c */
29 VALUE rb_f_kill(int, const VALUE*);
30#ifdef POSIX_SIGNAL
31#define posix_signal ruby_posix_signal
32void (*posix_signal(int, void (*)(int)))(int);
33#endif
34const char *ruby_signal_name(int);
35void ruby_default_signal(int);
36
37 RBIMPL_SYMBOL_EXPORT_END()
38
39#endif /* RBIMPL_INTERN_SIGNAL_H */
dllexport.h
Tewaking visibility of C variables/functions.
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
rb_f_kill
VALUE rb_f_kill(int, const VALUE *)
Definition: signal.c:423
ruby_signal_name
const char * ruby_signal_name(int)
Definition: signal.c:316
ruby_default_signal
void ruby_default_signal(int)
Definition: signal.c:407
int
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
const
#define const
Definition: strftime.c:108
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38