ae.sys.signals

POSIX signal handlers.

Public Imports

core.sys.posix.signal
public import core.sys.posix.signal;
Undocumented in source.

Members

Aliases

SignalHandler
alias SignalHandler = void delegate() nothrow @(system)
Undocumented in source.

Functions

addSignalHandler
void addSignalHandler(int signum, SignalHandler fn)
Undocumented in source. Be warned that the author may not have intended to support it.
collectSignal
bool collectSignal(int signum, void delegate() code)

If the signal signum is raised during execution of code, ignore it. Returns true if the signal was raised.

removeSignalHandler
void removeSignalHandler(int signum, SignalHandler fn)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>