]> git.notmuchmail.org Git - hello/commitdiff
Create a standard "hello, world" program
authorBryan O'Sullivan <mpm@selenic.com>
Fri, 26 Aug 2005 08:20:50 +0000 (01:20 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 28 Sep 2007 00:00:19 +0000 (17:00 -0700)
hello.c [new file with mode: 0644]

diff --git a/hello.c b/hello.c
new file mode 100644 (file)
index 0000000..ed55ec0
--- /dev/null
+++ b/hello.c
@@ -0,0 +1,16 @@
+/*
+ * hello.c
+ *
+ * Placed in the public domain by Bryan O'Sullivan
+ *
+ * This program is not covered by patents in the United States or other
+ * countries.
+ */
+
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+       printf("hello, world!\n");
+       return 0;
+}