summaryrefslogtreecommitdiff
path: root/src/libstddjb/iobufferk_nosys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iobufferk_nosys.c')
-rw-r--r--src/libstddjb/iobufferk_nosys.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libstddjb/iobufferk_nosys.c b/src/libstddjb/iobufferk_nosys.c
new file mode 100644
index 0000000..46f8be4
--- /dev/null
+++ b/src/libstddjb/iobufferk_nosys.c
@@ -0,0 +1,10 @@
+/* ISC license. */
+
+#include <errno.h>
+#include <skalibs/iobuffer.h>
+
+int iobufferk_nosys (iobufferk_ref k)
+{
+ (void)k ;
+ return (errno = ENOSYS, -1) ;
+}