diff options
| author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-02-22 15:26:19 +0000 |
|---|---|---|
| committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2021-02-23 00:58:10 +0000 |
| commit | 4bb8425af60eb673a932c90ee8d1b5f24c13a34e (patch) | |
| tree | 2a7df2379617c088d3ba1b539dc4520b6a4277fb /library/std/src/sys/unix/process/process_unix.rs | |
| parent | d8cfd56985bd8cc32274bfead4b1499da1c38810 (diff) | |
| download | rust-4bb8425af60eb673a932c90ee8d1b5f24c13a34e.tar.gz rust-4bb8425af60eb673a932c90ee8d1b5f24c13a34e.zip | |
ExitStatus: Improve documentation re wait status vs exit status
The use of `ExitStatus` as the Rust type name for a Unix *wait status*, not an *exit status*, is very confusing, but sadly probably too late to change. This area is confusing enough in Unix already (and many programmers are already confuxed). We can at least document it. I chose *not* to mention the way shells like to exit with signal numbers, thus turning signal numbers into exit statuses. This is only relevant for Rust programs using `std::process` if they run shells. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
