summaryrefslogtreecommitdiff
path: root/doc/zmq_errno.txt
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-06-03 14:08:36 +0200
committerMartin Lucina <mato@kotelna.sk>2010-06-03 14:08:36 +0200
commit8076fd1a3abece7dc91c2b2309dd0ecba57e882f (patch)
tree8000d6fede387260fc0759682d5e3ed32a875e6c /doc/zmq_errno.txt
parent7c9b09bc511236c8cc5f6cea7623a8b98fedf302 (diff)
Documentation: zmq_errno(3)
Diffstat (limited to 'doc/zmq_errno.txt')
-rw-r--r--doc/zmq_errno.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/doc/zmq_errno.txt b/doc/zmq_errno.txt
new file mode 100644
index 0000000..61939a5
--- /dev/null
+++ b/doc/zmq_errno.txt
@@ -0,0 +1,50 @@
+zmq_errno(3)
+============
+
+
+NAME
+----
+zmq_errno - retrieve value of errno for the calling thread
+
+
+SYNOPSIS
+--------
+*int zmq_errno (void);*
+
+
+DESCRIPTION
+-----------
+The _zmq_errno()_ function shall retrieve the value of the 'errno' variable for
+the calling thread.
+
+The _zmq_errno()_ function is provided to assist users on non-POSIX systems who
+are experiencing issues with retrieving the correct value of 'errno' directly.
+Specifically, users on Win32 systems whose application is using a different C
+runtime library from the C runtime library in use by 0MQ will need to use
+_zmq_errno()_ for correct operation.
+
+IMPORTANT: Users not experiencing issues with retrieving the correct value of
+'errno' should not use this function and should instead access the 'errno'
+variable directly.
+
+
+RETURN VALUE
+------------
+The _zmq_errno()_ function shall return the value of the 'errno' variable for
+the calling thread.
+
+
+ERRORS
+------
+No errors are defined.
+
+
+SEE ALSO
+--------
+linkzmq:zmq[7]
+
+
+AUTHORS
+-------
+The 0MQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and
+Martin Lucina <mato@kotelna.sk>.