Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitafe42033920f4c05748cc85e41010f16fda08867 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-02-26 20:40:30 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-02-26 20:40:30 +0200
Files65df66fb1d1fe2fc45653e9c688633fde3a2cc50 /src
syndamia.com-afe42033920f4c05748cc85e41010f16fda08867.tar
syndamia.com-afe42033920f4c05748cc85e41010f16fda08867.tar.gz
syndamia.com-afe42033920f4c05748cc85e41010f16fda08867.zip
Parentcc371f76a2ae5a04b11e69015ebaca6891efc097 (diff)
[talks/lbs] Added exit status slide to processes
1 files changed, 14 insertions, 0 deletions
-rw-r--r--src/talks/linuxgraphy-by-strabo/index.md14
diff --git a/src/talks/linuxgraphy-by-strabo/index.md b/src/talks/linuxgraphy-by-strabo/index.md
index 75cf951..9d828b0 100644
--- a/src/talks/linuxgraphy-by-strabo/index.md
+++ b/src/talks/linuxgraphy-by-strabo/index.md
@@ -512,6 +512,20 @@ A process can be **forked**, meaning a new process is created, with the same und
+&&clide &&font35
+
+#### Exit status
+
+Every process, before being deleted (and after being in a Terminated state) passes a small number, called the [exit status](https://en.wikipedia.org/wiki/Exit_status) (exit code), to it's parent process.
+For all intents and purposes, this number is an 8bit unsigned integer, meaning it's value is between 0 and 256.
+
+Pretty much universally, an exit code of 0 signifies a successful termination, and anything else specifies some sort of error code.
+Different programs specify the meaning of an exit code in different ways, some assign each number to a specific error, other use the bits representing the number as flags.
+
+&&/font &&/clide
+
+
+
&&slide &&font35
### 2.3.2 Memory management