diff options
| author | Mattias Andrée <m@maandree.se> | 2026-01-24 14:11:01 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-01-24 14:11:01 +0100 |
| commit | c8b7fdc7294329dc5eaf9f089f83184ece7d098c (patch) | |
| tree | 1059fd3ab69fb9219ef5a6be3f53cd8208015c40 /common.h | |
| download | charconv-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 '')
| -rw-r--r-- | common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..9b30011 --- /dev/null +++ b/common.h @@ -0,0 +1,13 @@ +/* See LICENSE file for copyright and license details. */ +#include "libcharconv.h" +#include <errno.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> +#include <libsimple-arg.h> + + +void writeall(const char *s, size_t n); +void writechar(uint_least32_t cp); +int convert(enum libcharconv_result (*conv)(const char *, size_t, size_t *, uint_least32_t *, size_t *)); |
