summaryrefslogtreecommitdiff
path: root/src/libstddjb/baprintf.c
blob: 63ea5a7867bb35165bb451b8814199fd4d170d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* ISC license. */

#include <stdarg.h>
#include <skalibs/bufalloc.h>
#include <skalibs/lolstdio.h>

int baprintf (bufalloc *ba, char const *format, ...)
{
  va_list args ;
  int r ;
  va_start(args, format) ;
  r = vbaprintf(ba, format, args) ;
  va_end(args) ;
  return r ;
}