mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-31 01:43:02 +08:00
45 lines
808 B
Plaintext
45 lines
808 B
Plaintext
zmq_term(3)
|
|
===========
|
|
|
|
|
|
NAME
|
|
----
|
|
zmq_term - terminate 0MQ context
|
|
|
|
|
|
SYNOPSIS
|
|
--------
|
|
*int zmq_term (void '*context');*
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
The _zmq_term()_ function terminates the 0MQ context 'context'.
|
|
|
|
If there are still sockets open within 'context' at the time _zmq_term()_ is
|
|
called the call will succeed but the actual shutdown of 'context' will be
|
|
delayed until the last socket within it is closed.
|
|
|
|
|
|
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
|
|
--------
|
|
linkzmq:zmq[7]
|
|
linkzmq:zmq_init[3]
|
|
|
|
|
|
AUTHORS
|
|
-------
|
|
The 0MQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and
|
|
Martin Lucina <mato@kotelna.sk>.
|