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

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

int bprintf (buffer *b, char const *format, ...)
{
  va_list args ;
  int r ;
  va_start(args, format) ;
  r = vbprintf(b, format, args) ;
  va_end(args) ;
  return r ;
}