Ruby: internal/signal.h File Reference

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

Functions | Variables
signal.h File Reference

Internal header for SignalException. More...

Go to the source code of this file.

## Functions
int | rb_get_next_signal (void)
int | rb_grantpt (int fd)

## Variables
int | ruby_enable_coredump

## Detailed Description

Internal header for SignalException.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.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.

Definition in file signal.h.

## Function Documentation

## ◆ rb_get_next_signal()

int rb_get_next_signal | ( | void |  | ) |

Definition at line 773 of file signal.c.

References ATOMIC_DEC, and RUBY_NSIG.

Referenced by rb_threadptr_execute_interrupts().

## ◆ rb_grantpt()

int rb_grantpt | ( | int | fd | ) |

Definition at line 1623 of file signal.c.

References grantpt, rb_nativethread_lock_lock(), rb_nativethread_lock_unlock(), RUBY_SIGCHLD, and rb_vm_struct::waitpid_lock.

## Variable Documentation

## ◆ ruby_enable_coredump

int ruby_enable_coredump
| extern

Definition at line 1507 of file signal.c.

Referenced by Init_signal(), and ruby_env_debug_option().