diff options
Diffstat (limited to 'src/libstddjb/genwrite_put_buffer.c')
-rw-r--r-- | src/libstddjb/genwrite_put_buffer.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libstddjb/genwrite_put_buffer.c b/src/libstddjb/genwrite_put_buffer.c new file mode 100644 index 0000000..1c85725 --- /dev/null +++ b/src/libstddjb/genwrite_put_buffer.c @@ -0,0 +1,10 @@ +/* ISC license. */ + +#include <skalibs/buffer.h> +#include <skalibs/genwrite.h> + +int genwrite_put_buffer (void *target, char const *s, unsigned int len) +{ + register buffer *b = target ; + return buffer_put(b, s, len) ; +} |