Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] ProcessID, Signal, SignalSet, TaskInfo, ResourceUsageInfo #20

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update Sources/System/Process/Signal.swift
Co-authored-by: Karoy Lorentey <klorentey@apple.com>
milseman and lorentey authored Feb 25, 2021
commit 153e5d3d3f044938bb6b8d8712f9852b9448c156
2 changes: 1 addition & 1 deletion Sources/System/Process/Signal.swift
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ extension Signal {
public static var unknownSystemCall: Signal { Signal(SIGSYS) }

/// SIGPIPE (13): write on a pipe with no reader (default behavior: terminate process)
public static var pipe: Signal { Signal(SIGPIPE) }
public static var brokenPipe: Signal { Signal(SIGPIPE) }

/// SIGALRM (14): real-time timer expired (default behavior: terminate process)
public static var alarm: Signal { Signal(SIGALRM) }