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