summaryrefslogtreecommitdiffstats
path: root/.vim/c-support/codesnippets/main.c
diff options
context:
space:
mode:
Diffstat (limited to '.vim/c-support/codesnippets/main.c')
-rw-r--r--.vim/c-support/codesnippets/main.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/.vim/c-support/codesnippets/main.c b/.vim/c-support/codesnippets/main.c
new file mode 100644
index 0000000..770f5d5
--- /dev/null
+++ b/.vim/c-support/codesnippets/main.c
@@ -0,0 +1,20 @@
+#include <errno.h>
+#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+/*
+ * === FUNCTION ======================================================================
+ * Name: main
+ * Description: main function
+ * =====================================================================================
+ */
+ int
+main ( int argc, char *argv[] )
+{
+ printf ("\nProgram %s\n\n", argv[0] );
+
+ return EXIT_SUCCESS;
+} /* ---------- end of function main ---------- */
+