diff toys/hello.c @ 13:d87d8a056295

Add a hello world applet, partly as an example and partly for testing purposes.
author Rob Landley <rob@landley.net>
date Wed, 01 Nov 2006 22:23:58 -0500
parents
children 25447caf1b4b
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/toys/hello.c	Wed Nov 01 22:23:58 2006 -0500
@@ -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;
+}