Contents

ExitStatus.signal(_:)

The process exited with the given signal.

Declaration

case signal(CInt)

Parameters

  • signal:

    The signal that caused the process to exit.

Discussion

The C programming language defines a number of standard signals. Platforms may additionally define their own non-standard signal codes:

Platform

Header

macOS

Signal.3

Linux

Signal.7

FreeBSD

Man.cgi?signal(3)

OpenBSD

Signal

Windows

Signal Constants