[USER] Temporary write syscall

This commit is contained in:
thomas committed 2017-03-27 23:09:09 +02:00
1 parent 1693baaf6b
commit 19df873615
7 files changed
+76

No files matched your search

+9
View File
@@ -1,9 +1,18 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
(void) argc;
(void) argv;
printf("Hello, world!\n");
printf("Some numbers:%d\n", 12345);
printf("And hex:%#x\n", 0xabcdef);
printf("And a string:%s\n", "Hello!");
printf("Arguments passed to init:\n");
for(int i=0; i < argc; i++)
printf("%d: %s\n", i, argv[i]);
for(;;);
return 0;
}