From 9b3fc7d5e0fe4850c7faa67257231366bf9053e2 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 1 Nov 2006 22:23:58 -0500 Subject: Add a hello world applet, partly as an example and partly for testing purposes. --- toys/hello.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 toys/hello.c (limited to 'toys') 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; +} -- cgit v1.2.3