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

#include <sys/types.h>
#include <skalibs/buffer.h>
#include <skalibs/genwrite.h>

ssize_t genwrite_put_buffer (void *target, char const *s, size_t len)
{
  register buffer *b = target ;
  return buffer_put(b, s, len) ;
}