aboutsummaryrefslogtreecommitdiffstats
path: root/src/vu-write-head.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/vu-write-head.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/vu-write-head.c b/src/vu-write-head.c
new file mode 100644
index 0000000..55170c0
--- /dev/null
+++ b/src/vu-write-head.c
@@ -0,0 +1,31 @@
+/* See LICENSE file for copyright and license details. */
+#include "arg.h"
+#include "util.h"
+
+static void
+usage(void)
+{
+ eprintf("usage: %s parameters ...\n", argv0);
+}
+
+int
+main(int argc, char *argv[])
+{
+ int i;
+
+ ARGBEGIN {
+ default:
+ usage();
+ } ARGEND;
+
+ if (!argc)
+ usage();
+
+ printf("%s", argv[0]);
+ for (i = 0; i < argc; i++)
+ printf(" %s", argv[i]);
+ printf("\n%cuivf", 0);
+
+ efshut(stdout, "<stdout>");
+ return 0;
+}