diff options
Diffstat (limited to 'src/libstddjb/tain_fmt.c')
-rw-r--r-- | src/libstddjb/tain_fmt.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libstddjb/tain_fmt.c b/src/libstddjb/tain_fmt.c new file mode 100644 index 0000000..1fa04e3 --- /dev/null +++ b/src/libstddjb/tain_fmt.c @@ -0,0 +1,11 @@ +/* ISC license. */ + +#include <skalibs/fmtscan.h> +#include <skalibs/tai.h> + +unsigned int tain_fmt (char *s, tain_t const *a) +{ + char pack[TAIN_PACK] ; + tain_pack(pack, a) ; + return ucharn_fmt(s, pack, TAIN_PACK) ; +} |