diff options
-rw-r--r-- | kernel.md | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -144,20 +144,3 @@ Running the kernel | |||
144 | ------------------ | 144 | ------------------ |
145 | 145 | ||
146 | TODO: link the QEMU article | 146 | TODO: 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 | */ | ||
158 | int 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 | ``` | ||