diff options
Diffstat (limited to 'src/libstddjb/buffer_puts.c')
-rw-r--r-- | src/libstddjb/buffer_puts.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/buffer_puts.c b/src/libstddjb/buffer_puts.c new file mode 100644 index 0000000..aaaac2e --- /dev/null +++ b/src/libstddjb/buffer_puts.c @@ -0,0 +1,9 @@ +/* ISC license. */ + +#include <skalibs/bytestr.h> +#include <skalibs/buffer.h> + +int buffer_puts (buffer *b, char const *s) +{ + return buffer_put(b, s, str_len(s)) ; +} |