about summary refs log tree commit diff
path: root/src/libstddjb/tain_fmt.c
blob: 54f0e6abd6756f5324463b14f989e5269ae988b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/fmtscan.h>
#include <skalibs/tai.h>

size_t tain_fmt (char *s, tain_t const *a)
{
  char pack[TAIN_PACK] ;
  tain_pack(pack, a) ;
  return ucharn_fmt(s, pack, TAIN_PACK) ;
}