@@ -60,10 +60,6 @@ extension ExitTest.Condition {
60
60
/// A condition that matches when a process terminates successfully with exit
61
61
/// code `EXIT_SUCCESS`.
62
62
///
63
- /// The C programming language defines two [standard exit codes](https://en.cppreference.com/w/c/program/EXIT_status),
64
- /// `EXIT_SUCCESS` and `EXIT_FAILURE` as well as `0` (as a synonym for
65
- /// `EXIT_SUCCESS`.)
66
- ///
67
63
/// @Metadata {
68
64
/// @Available(Swift, introduced: 6.2)
69
65
/// }
@@ -102,9 +98,9 @@ extension ExitTest.Condition {
102
98
/// - Parameters:
103
99
/// - exitCode: The exit code yielded by the process.
104
100
///
105
- /// The C programming language defines two [ standard exit codes](https://en.cppreference.com/w/c/program/EXIT_status),
106
- /// `EXIT_SUCCESS` and `EXIT_FAILURE`. Platforms may additionally define their
107
- /// own non-standard exit codes:
101
+ /// The C programming language defines two standard exit codes, `EXIT_SUCCESS`
102
+ /// and `EXIT_FAILURE`. Platforms may additionally define their own
103
+ /// non-standard exit codes:
108
104
///
109
105
/// | Platform | Header |
110
106
/// |-|-|
@@ -114,6 +110,11 @@ extension ExitTest.Condition {
114
110
/// | OpenBSD | [`<stdlib.h>`](https://man.openbsd.org/exit.3), [`<sysexits.h>`](https://man.openbsd.org/sysexits.3) |
115
111
/// | Windows | [`<stdlib.h>`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure) |
116
112
///
113
+ /// @Comment {
114
+ /// See https://en.cppreference.com/w/c/program/EXIT_status for more
115
+ /// information about exit codes defined by the C standard.
116
+ /// }
117
+ ///
117
118
/// On macOS, FreeBSD, OpenBSD, and Windows, the full exit code reported by
118
119
/// the process is yielded to the parent process. Linux and other POSIX-like
119
120
/// systems may only reliably report the low unsigned 8 bits (0–255) of
@@ -136,8 +137,8 @@ extension ExitTest.Condition {
136
137
/// - Parameters:
137
138
/// - signal: The signal that terminated the process.
138
139
///
139
- /// The C programming language defines a number of [ standard signals](https://en.cppreference.com/w/c/program/SIG_types).
140
- /// Platforms may additionally define their own non-standard signal codes:
140
+ /// The C programming language defines a number of standard signals. Platforms
141
+ /// may additionally define their own non-standard signal codes:
141
142
///
142
143
/// | Platform | Header |
143
144
/// |-|-|
@@ -147,6 +148,11 @@ extension ExitTest.Condition {
147
148
/// | OpenBSD | [`<signal.h>`](https://man.openbsd.org/signal.3) |
148
149
/// | Windows | [`<signal.h>`](https://learn.microsoft.com/en-us/cpp/c-runtime-library/signal-constants) |
149
150
///
151
+ /// @Comment {
152
+ /// See https://en.cppreference.com/w/c/program/SIG_types for more
153
+ /// information about signals defined by the C standard.
154
+ /// }
155
+ ///
150
156
/// @Metadata {
151
157
/// @Available(Swift, introduced: 6.2)
152
158
/// }
0 commit comments