From a15854bd92db69fcd0b4444fe1b8fe3610a7acf6 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:53:19 +0100 Subject: Imported Upstream version 2.0.7.dfsg --- doc/zmq_term.html | 648 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 648 insertions(+) create mode 100644 doc/zmq_term.html (limited to 'doc/zmq_term.html') diff --git a/doc/zmq_term.html b/doc/zmq_term.html new file mode 100644 index 0000000..847abf5 --- /dev/null +++ b/doc/zmq_term.html @@ -0,0 +1,648 @@ + + + + + +zmq_term(3) + + + + + +
+

SYNOPSIS

+
+

int zmq_term (void *context);

+
+

DESCRIPTION

+
+

The zmq_term() function terminates the ØMQ context context.

+

If there are no longer any sockets open within context at the time +zmq_term() is called then context shall be shut down and all associated +resources shall be released immediately.

+

Otherwise, the following applies:

+
    +
  • +

    +The zmq_term() function shall return immediately. +

    +
  • +
  • +

    +Any blocking operations currently in progress on sockets open within + context shall return immediately with an error code of ETERM. +

    +
  • +
  • +

    +With the exception of zmq_close(), any further operations on sockets open + within context shall fail with an error code of ETERM. +

    +
  • +
  • +

    +The actual shutdown of context, and release of any associated resources, + shall be delayed until the last socket within it is closed with + zmq_close(). +

    +
  • +
+
+

RETURN VALUE

+
+

The zmq_term() function shall return zero if successful. Otherwise it shall +return -1 and set errno to one of the values defined below.

+
+

ERRORS

+
+

No errors are defined.

+
+

SEE ALSO

+ +

AUTHORS

+
+

The ØMQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and +Martin Lucina <mato@kotelna.sk>.

+
+
+

+ + + -- cgit v1.2.3