diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-02-23 23:28:25 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-02-23 23:28:25 +0100 |
commit | 2441ef11a22170499d7ae12865dc98a61230f7ed (patch) | |
tree | 8583021a2463df908cd1f5683366b72b0bc578f2 /src | |
parent | 2dd55605ea3956413cb25cab705ffdbdb2e00da5 (diff) |
zmq_errno helper function added
Diffstat (limited to 'src')
-rw-r--r-- | src/zmq.cpp | 5 |
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 () |