From 2441ef11a22170499d7ae12865dc98a61230f7ed Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 23 Feb 2010 23:28:25 +0100 Subject: zmq_errno helper function added --- src/zmq.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 () -- cgit v1.2.3