signal(_:)
Creates a condition that matches when a process exits with a given signal.
Declaration
static func signal(_ signal: CInt) -> ExitTest.ConditionParameters
- signal:
The signal that caused the process to exit.
Mentioned in
Discussion
The C programming language defines a number of standard signals. Platforms may additionally define their own non-standard signal codes:
Platform | Header |
|---|---|
macOS | |
Linux | |
FreeBSD | |
OpenBSD | |
Windows |