summaryrefslogtreecommitdiff
path: root/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'hello.c')
-rw-r--r--hello.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/hello.c b/hello.c
new file mode 100644
index 0000000..852750e
--- /dev/null
+++ b/hello.c
@@ -0,0 +1,9 @@
+#include <u.h>
+#include <libc.h>
+
+void
+main()
+{
+ print("Hello world\n");
+ exits(0);
+}