diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-04-08 18:24:00 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-04-08 18:24:00 +0200 |
commit | 5cb5188112476b82af1e9f0a8f61866becca31e0 (patch) | |
tree | 8b8f0561785e8d9b371e27458bda6707daa03254 /init/init.c | |
download | minilinux-5cb5188112476b82af1e9f0a8f61866becca31e0.tar.gz |
Initial commit
Diffstat (limited to 'init/init.c')
-rw-r--r-- | init/init.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c new file mode 100644 index 0000000..00836b5 --- /dev/null +++ b/init/init.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include <unistd.h> + +int main(int argc, char* argv[]) +{ + printf("I'm a kernel!\r\n"); + + while(1) + { + printf("Still running!\r\n"); + sleep(1); + } +} |