summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_putsflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/buffer_putsflush.c')
-rw-r--r--src/libstddjb/buffer_putsflush.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/buffer_putsflush.c b/src/libstddjb/buffer_putsflush.c
new file mode 100644
index 0000000..4be4c34
--- /dev/null
+++ b/src/libstddjb/buffer_putsflush.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/bytestr.h>
+#include <skalibs/buffer.h>
+
+int buffer_putsflush (buffer *b, char const *s)
+{
+ return buffer_putflush(b, s, str_len(s)) ;
+}