summaryrefslogtreecommitdiff
path: root/src/libstddjb/iobufferu_fill.c
blob: 7ebb67cd27e2ffb5b9542af88c86bc6c4f7e0512 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/buffer.h>
#include <skalibs/iobuffer.h>

int iobufferu_fill (iobufferu_ref b)
{
  register int r = buffer_fill(&b->b[0]) ;
  b->b[1].c.n = b->b[0].c.n ;
  return r ;
}