summaryrefslogtreecommitdiff
path: root/src/libstddjb/iobufferu_fill.c
blob: de1a56c16562776076276b820e27a78fd78161eb (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 *b)
{
  register int r = buffer_fill(&b->b[0]) ;
  b->b[1].c.n = b->b[0].c.n ;
  return r ;
}