skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

baprintf.c (278B)


      1 /* ISC license. */
      2 
      3 #include <stdarg.h>
      4 #include <skalibs/bufalloc.h>
      5 #include <skalibs/lolstdio.h>
      6 
      7 int baprintf (bufalloc *ba, char const *format, ...)
      8 {
      9   va_list args ;
     10   int r ;
     11   va_start(args, format) ;
     12   r = vbaprintf(ba, format, args) ;
     13   va_end(args) ;
     14   return r ;
     15 }