summaryrefslogtreecommitdiff
path: root/src/libstddjb/bufalloc_getlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/bufalloc_getlen.c')
-rw-r--r--src/libstddjb/bufalloc_getlen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstddjb/bufalloc_getlen.c b/src/libstddjb/bufalloc_getlen.c
new file mode 100644
index 0000000..696e41d
--- /dev/null
+++ b/src/libstddjb/bufalloc_getlen.c
@@ -0,0 +1,8 @@
+/* ISC license. */
+
+#include <skalibs/bufalloc.h>
+
+unsigned int bufalloc_getlen (bufalloc const *ba)
+{
+ return bufalloc_len(ba) ;
+}