summaryrefslogtreecommitdiff
path: root/doc/examples/directives/files/src/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/directives/files/src/hello.c')
-rw-r--r--doc/examples/directives/files/src/hello.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/examples/directives/files/src/hello.c b/doc/examples/directives/files/src/hello.c
new file mode 100644
index 000000000..df3ca1ea2
--- /dev/null
+++ b/doc/examples/directives/files/src/hello.c
@@ -0,0 +1,10 @@
+/*
+ * hello.c - Simple hello world program
+ */
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ printf(GREETING_MESSAGE);
+ return 0;
+}