about summary refs log tree commit diff
path: root/src/libstddjb/lolprintf.c
blob: 90cc5fc7aa67b3827116cbc4f49a97f5edd93f5b (plain) (blame)
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 lolprintf (char const *format, ...)
{
  va_list args ;
  int r ;
  va_start(args, format) ;
  r = vbprintf(buffer_1, format, args) ;
  va_end(args) ;
  return r ;
}