aboutsummaryrefslogtreecommitdiffstats
path: root/convert-to-segmented.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-24 14:11:01 +0100
committerMattias Andrée <m@maandree.se>2026-01-24 14:11:01 +0100
commitc8b7fdc7294329dc5eaf9f089f83184ece7d098c (patch)
tree1059fd3ab69fb9219ef5a6be3f53cd8208015c40 /convert-to-segmented.c
downloadcharconv-c8b7fdc7294329dc5eaf9f089f83184ece7d098c.tar.gz
charconv-c8b7fdc7294329dc5eaf9f089f83184ece7d098c.tar.bz2
charconv-c8b7fdc7294329dc5eaf9f089f83184ece7d098c.tar.xz
First commit
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'convert-to-segmented.c')
-rw-r--r--convert-to-segmented.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/convert-to-segmented.c b/convert-to-segmented.c
new file mode 100644
index 0000000..b3b783c
--- /dev/null
+++ b/convert-to-segmented.c
@@ -0,0 +1,18 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+USAGE("");
+
+
+int
+main(int argc, char *argv[])
+{
+ ARGBEGIN {
+ default:
+ usage();
+ } ARGEND;
+ if (argc)
+ usage();
+
+ return convert(&libcharconv_segmented);
+}