diff options
Diffstat (limited to 'usr/klibc/tests/microhello.c')
-rw-r--r-- | usr/klibc/tests/microhello.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/klibc/tests/microhello.c b/usr/klibc/tests/microhello.c new file mode 100644 index 0000000..c999d11 --- /dev/null +++ b/usr/klibc/tests/microhello.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <unistd.h> + +int main(void) +{ + static const char hello[] = "Hello, World!\n"; + _fwrite(hello, sizeof hello - 1, stdout); + return 0; +} |