Skip to content

Commit 5843e4d

Browse files
authored
Add manpage links for FreeBSD headers mentioned in documentation. (#704)
Follow-up to #685. Add links to FreeBSD manpages on freebsd.org for the header files we mention in our exit test documentation. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 81a5ccb commit 5843e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Testing/ExitTests/ExitCondition.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public enum ExitCondition: Sendable {
4242
/// |-|-|
4343
/// | macOS | [`<stdlib.h>`](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/_Exit.3.html), [`<sysexits.h>`](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/sysexits.3.html) |
4444
/// | Linux | [`<stdlib.h>`](https://sourceware.org/glibc/manual/latest/html_node/Exit-Status.html), `<sysexits.h>` |
45-
/// | FreeBSD | `<stdlib.h>`, `<sysexits.h>` |
45+
/// | FreeBSD | [`<stdlib.h>`](https://man.freebsd.org/cgi/man.cgi?exit(3)), [`<sysexits.h>`](https://man.freebsd.org/cgi/man.cgi?sysexits(3)) |
4646
/// | Windows | [`<stdlib.h>`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure) |
4747
///
4848
/// On macOS, FreeBSD, and Windows, the full exit code reported by the process
@@ -63,7 +63,7 @@ public enum ExitCondition: Sendable {
6363
/// |-|-|
6464
/// | macOS | [`<signal.h>`](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/signal.3.html) |
6565
/// | Linux | [`<signal.h>`](https://sourceware.org/glibc/manual/latest/html_node/Standard-Signals.html) |
66-
/// | FreeBSD | `<signal.h>` |
66+
/// | FreeBSD | [`<signal.h>`](https://man.freebsd.org/cgi/man.cgi?signal(3)) |
6767
/// | Windows | [`<signal.h>`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/signal-constants) |
6868
///
6969
/// On Windows, by default, the C runtime will terminate a process with exit

0 commit comments

Comments
 (0)