Skip to content

Commit d1df471

Browse files
committed
unix::ExitStatus: Add comment saying that it's a wait status
With cross-reference. Signed-off-by: Ian Jackson <[email protected]>
1 parent 79e52b3 commit d1df471

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/std/src/sys/unix/process/process_unix.rs

+3
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,9 @@ impl Process {
616616
}
617617

618618
/// Unix exit statuses
619+
//
620+
// This is not actually an "exit status" in Unix terminology. Rather, it is a "wait status".
621+
// See the discussion in comments and doc comments for `std::process::ExitStatus`.
619622
#[derive(PartialEq, Eq, Clone, Copy)]
620623
pub struct ExitStatus(c_int);
621624

0 commit comments

Comments
 (0)