0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-03 03:45:43 +08:00
libzmq/doc/zmq_term.txt

45 lines
808 B
Plaintext
Raw Normal View History

2010-02-10 16:18:46 +01:00
zmq_term(3)
===========
NAME
----
2010-03-09 18:47:31 +01:00
zmq_term - terminate 0MQ context
2010-02-10 16:18:46 +01:00
SYNOPSIS
--------
2010-03-09 18:47:31 +01:00
*int zmq_term (void '*context');*
2010-02-10 16:18:46 +01:00
DESCRIPTION
-----------
2010-03-09 18:47:31 +01:00
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.
2010-02-10 16:18:46 +01:00
RETURN VALUE
------------
2010-03-09 18:47:31 +01:00
The _zmq_term()_ function shall return zero if successful. Otherwise it shall
2010-03-10 12:19:39 +01:00
return `-1` and set 'errno' to one of the values defined below.
2010-02-10 16:18:46 +01:00
ERRORS
------
No errors are defined.
SEE ALSO
--------
2010-03-09 18:47:31 +01:00
linkzmq:zmq[7]
2010-02-10 16:18:46 +01:00
linkzmq:zmq_init[3]
2010-03-09 18:47:31 +01:00
AUTHORS
-------
The 0MQ documentation was written by Martin Sustrik <sustrik@250bpm.com> and
Martin Lucina <mato@kotelna.sk>.