aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/hello.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/toys/hello.c b/toys/hello.c
new file mode 100644
index 00000000..1f587723
--- /dev/null
+++ b/toys/hello.c
@@ -0,0 +1,12 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * hello.c - A hello world program.
+ */
+
+#include "toys.h"
+
+int hello_main(void)
+{
+ printf("Hello world\n");
+ return 0;
+}