Skip to content

Glossary: Rust in Practice

exit code

Also written: exit codes, ExitCode

The number a program gives the shell when it ends: 0 means success and anything else means failure. `echo $?` shows it.

Where the book teaches it

Related terms

stdoutstderr