summaryrefslogtreecommitdiff
path: root/src/zmq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq.cpp')
-rw-r--r--src/zmq.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 1275804..ca9a970 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -615,6 +615,11 @@ int zmq_poll (zmq_pollitem_t *items_, int nitems_, long timeout_)
#endif
}
+int zmq_errno ()
+{
+ return errno;
+}
+
#if defined ZMQ_HAVE_WINDOWS
static uint64_t now ()