summaryrefslogtreecommitdiff
path: root/src/libstddjb/buffer_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/buffer_2.c')
-rw-r--r--src/libstddjb/buffer_2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstddjb/buffer_2.c b/src/libstddjb/buffer_2.c
new file mode 100644
index 0000000..9bc4e3f
--- /dev/null
+++ b/src/libstddjb/buffer_2.c
@@ -0,0 +1,8 @@
+/* ISC license. */
+
+/* MT-unsafe */
+
+#include <skalibs/buffer.h>
+
+static char buf[BUFFER_ERRSIZE] ;
+buffer buffer_2_ = BUFFER_INIT(&buffer_write, 2, buf, BUFFER_ERRSIZE) ;