summaryrefslogtreecommitdiffstats
path: root/kernel.md
diff options
context:
space:
mode:
Diffstat (limited to 'kernel.md')
-rw-r--r--kernel.md17
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel.md b/kernel.md
index 3e7a457..bb16a62 100644
--- a/kernel.md
+++ b/kernel.md
@@ -144,20 +144,3 @@ Running the kernel
144------------------ 144------------------
145 145
146TODO: link the QEMU article 146TODO: link the QEMU article
147
148
149```c
150#include <stdio.h>
151
152/**
153 * \brief The entry point of the program.
154 *
155 * \param argc the number of command line arguments
156 * \param argv the command line argument, as an array of NULL terminated strings
157 */
158int main(int argc, char** argv) {
159 for(int i = 0; i < argc; ++i) {
160 printf("Argument %i: %s\n", i, argv[i]);
161 }
162}
163```