summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_fmt.c
blob: 9b98b59dff2acb18d78f6e7548d34047d003928a (plain)
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 const *a)
{
  char pack[TAIN_PACK] ;
  tain_pack(pack, a) ;
  return ucharn_fmt(s, pack, TAIN_PACK) ;
}