Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

core.stdc.signal

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <signal.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Sean Kelly

Source: core/stdc/signal.d

Standards:
ISO/IEC 9899:1999 (E)
alias sig_atomic_t = int;

void function(int) nothrow @nogc @system SIG_ERR;

void function(int) nothrow @nogc @system SIG_DFL;

void function(int) nothrow @nogc @system SIG_IGN;

int SIGABRT;

int SIGFPE;

int SIGILL;

int SIGINT;

int SIGSEGV;

int SIGTERM;

nothrow @nogc @system sigfn_t signal(int sig, sigfn_t func);

nothrow @nogc @system int raise(int sig);