]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/hello/server/src/main.c
Inital import
[l4.git] / l4 / pkg / hello / server / src / main.c
diff --git a/l4/pkg/hello/server/src/main.c b/l4/pkg/hello/server/src/main.c
new file mode 100644 (file)
index 0000000..b3debdc
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ * (c) 2008-2009 Technische Universität Dresden
+ * This file is part of TUD:OS and distributed under the terms of the
+ * GNU General Public License 2.
+ * Please see the COPYING-GPL-2 file for details.
+ */
+#include <stdio.h>
+#include <unistd.h>
+
+int
+main(void)
+{
+  for (;;)
+    {
+      puts("Hello World!");
+      sleep(1);
+    }
+}