Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
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 a local clone.

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
Standards:
ISO/IEC 9899:1999 (E)
alias sig_atomic_t = int;

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

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

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

enum int SIGABRT;

enum int SIGFPE;

enum int SIGILL;

enum int SIGINT;

enum int SIGSEGV;

enum int SIGTERM;

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

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