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