zmq_errno.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. zmq_errno(3)
  2. ============
  3. NAME
  4. ----
  5. zmq_errno - retrieve value of errno for the calling thread
  6. SYNOPSIS
  7. --------
  8. *int zmq_errno (void);*
  9. DESCRIPTION
  10. -----------
  11. The _zmq_errno()_ function shall retrieve the value of the 'errno' variable for
  12. the calling thread.
  13. The _zmq_errno()_ function is provided to assist users on non-POSIX systems who
  14. are experiencing issues with retrieving the correct value of 'errno' directly.
  15. Specifically, users on Win32 systems whose application is using a different C
  16. run-time library from the C run-time library in use by 0MQ will need to use
  17. _zmq_errno()_ for correct operation.
  18. IMPORTANT: Users not experiencing issues with retrieving the correct value of
  19. 'errno' should not use this function and should instead access the 'errno'
  20. variable directly.
  21. RETURN VALUE
  22. ------------
  23. The _zmq_errno()_ function shall return the value of the 'errno' variable for
  24. the calling thread.
  25. ERRORS
  26. ------
  27. No errors are defined.
  28. SEE ALSO
  29. --------
  30. linkzmq:zmq[7]
  31. AUTHORS
  32. -------
  33. This page was written by the 0MQ community. To make a change please
  34. read the 0MQ Contribution Policy at <http://www.zeromq.org/docs:contributing>.